Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 357561 - Fix the combining of synchronization calls from multiple threads in the GitServiceProvider
Summary: Fix the combining of synchronization calls from multiple threads in the GitSe...
Status: CLOSED FIXED
Alias: None
Product: PTP
Classification: Tools
Component: RDT.sync (show other bugs)
Version: 5.0.2   Edit
Hardware: All All
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: John Eblen CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-13 16:56 EDT by John Eblen CLA
Modified: 2011-09-13 18:05 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Eblen CLA 2011-09-13 16:56:35 EDT
Recent changes introduced new rules that forced all synchronization calls to run independently. This was done to support sync'ing of multiple configurations at the same time. Unfortunately, this led to unnecessary syncs. This problem was especially noticeable when creating a new sync project for a remote site that had many files. A sync was invoked for each file, taking several minutes to complete for a project with hundreds of files. We fix this by removing these new threading rules in the SyncManager and using a static lock in the GitServiceProvider that allows combining of syncs for the same provider.
Comment 1 John Eblen CLA 2011-09-13 18:05:58 EDT
Committed to PTP_5_0 and HEAD