This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 154258 - Make synchronization of tasklist items use a single job or single progress indication
Summary: Make synchronization of tasklist items use a single job or single progress in...
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P3 enhancement (vote)
Target Milestone: 3.0   Edit
Assignee: Steffen Pingel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-17 12:57 EDT by Robert Elves CLA
Modified: 2008-12-09 22:00 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Elves CLA 2006-08-17 12:57:32 EDT
Currently we have multiple jobs appearing in the progress monitor.  When synchronizing multiple queries or tasks, connector.synchronize(...) runs as a single job but this is called per connector which results in many jobs. Adding to this are the tasks sync jobs which may result from syncronization of queries. This can add up to a number of jobs being displayed in the progress monitor as Eugene has observed:

"I would definetely prefer single sync job. I usually have Progress view shown and those multiple and jumpy Mylar's jobs are quite annoying..."
Comment 1 Mik Kersten CLA 2006-08-24 14:27:19 EDT
Note that this will mean that a slow repository could hold up a fast one when synching.
Comment 2 Steffen Pingel CLA 2007-06-25 22:10:26 EDT
For background synchronization all repositories are synchronized sequentially but in separate jobs. I would like to change that to either parallelize synchronization or use a single job. What is the preference here? 

I am  leaning towards a single job which makes it easy to cancel synchronization by clicking once and we need to make sure that manual synchronization is always prioritized so user interactions are not delayed up by the background synchronization job.
Comment 3 Eugene Kuleshov CLA 2007-06-25 22:32:12 EDT
One of the advantages of multiple jobs is that you can actually skip/kill troublesome repository and it is unclear how that case can be supported with single job. Also need to make sure that if sync fail for one of the repositories, that job would continue to next repository.

So, it seem like parallel sync is more attractive, but it may open up some concurrent bugs, deadlocks or simply slow down environment (some of the parsing/decoding could eat cpu).
Comment 4 Steffen Pingel CLA 2008-12-09 22:00:49 EST
Since Mylyn 3.0 the background synchronization runs in a single jobs whereas forced synchronizations spawn a job per repository, parallelizing the process.