Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 215156

Summary: update bugzilla client to use post for queries so we are not restricted by query url length
Product: z_Archived Reporter: Robert Elves <robert.elves>
Component: MylynAssignee: Robert Elves <robert.elves>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: mjmeijer
Version: unspecified   
Target Milestone: 2.3   
Hardware: PC   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 215100    
Attachments:
Description Flags
mylyn/context/zip none

Description Robert Elves CLA 2008-01-13 15:17:42 EST
Currently BugzillaClient performs multiple http requests when retrieving changed tasks due to url length restrictions. By updating the query code to use http POST, changed tasks could be retrieved with a single request.
Comment 1 Robert Elves CLA 2008-01-13 15:38:42 EST
Fixed.
Comment 2 Robert Elves CLA 2008-01-13 15:38:44 EST
Created attachment 86777 [details]
mylyn/context/zip
Comment 3 Eugene Kuleshov CLA 2008-01-13 18:57:08 EST
I wonder if there is a hard limit for number of tasks to search like this in MySQL... it may worth to check that.
Comment 4 maarten meijer CLA 2008-01-14 03:59:05 EST
I coiuldn't locate exactly where you made changes for this bug.
Are you sure you used GzipPostMethod to do this POST request?
If not we loose the potential bandwidth savings again...
see bug 205708
Comment 5 Robert Elves CLA 2008-01-14 12:49:47 EST
(In reply to comment #3)
> I wonder if there is a hard limit for number of tasks to search like this in
> MySQL... it may worth to check that.

Yes this would be very valuable information.  We'd have to look at the sql executed by Bugzilla's buglist.cgi script.

 (In reply to comment #4)
> I coiuldn't locate exactly where you made changes for this bug.
> Are you sure you used GzipPostMethod to do this POST request?
> If not we loose the potential bandwidth savings again...
> see bug 205708
GzipPostMethod is used (See bugzillaClient.getSearchHits(...))