Bug 100985 - [Sync View] Very long synchronization state calculation on ghost and cvsignored resources
Summary: [Sync View] Very long synchronization state calculation on ghost and cvsignor...
Status: ASSIGNED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: CVS (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: platform-cvs-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 105620 (view as bug list)
Depends on:
Blocks: 95558
  Show dependency tree
 
Reported: 2005-06-20 18:52 EDT by Philippe Ombredanne CLA
Modified: 2019-09-06 15:30 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Ombredanne CLA 2005-06-20 18:52:38 EDT
In 3.1RC2, (but also in 3.1M6) I have a project cvs-shared with a fairly large
set of temp files under the build subfolder. When doing a synchronize on the
project, it can take forever to calc the state, despite the build folder is in
the comitted .cvsignore. It looks like the synchronization cheks for every
single file (several hundreds of them) that are under the build folder, even if
they are ignored. And ghost deleted resources are still being synchronized.

*Ghost deleted resources:
The progress views shows a task : Updating CVS workspace, and a message
"calculating synchronization state for ...." pointing to resources which:
- used to be under the project and were in .cvsignore at the time,
- have been since deleted from the project - the .cvsignore has been updated and
properly committed
- have never been committed

The project has been both refreshed and cleaned, and Eclipse started with -clean

Further synchronizations in the same session do not go through this lengthy
calculation on ghost resources again.
But restarting Eclipse and launching a synchronization re-triggers that synchro.

Also, the fact that the synchro is pinned or not does not have any effect.

Even when starting with a clean workspace, and importing the project, ghost
deleted resources are being synchronized.


* Attmpting synchro on cvsignored resources
Only when starting with a clean the eclipse/configuration, and a new workspace,
there is always an attempt to synchronize cvsignored resources, but at least
cleaning the configuration takes care of removing the sync on ghost deleted
resources.
When the ignored folders (ie some build folder) contains a large number of
files, this can take several minutes.


An easy way to reproduce the bug:
- create some project that is cvs shared
- create some folder with many files that is cvs ignored
- sync and check the progress view
- restart, sync
Comment 1 Michael Valenta CLA 2005-06-21 08:27:53 EDT
This is a known issue. We couldn't fix it for 3.1 as it requires new API and 
we were past the API deadline when we discovered it.
Comment 2 Michael Valenta CLA 2005-08-03 16:40:23 EDT
*** Bug 105620 has been marked as a duplicate of this bug. ***
Comment 3 Michael Valenta CLA 2007-04-18 21:33:15 EDT
We didn't have time to address this in 3.3.
Comment 4 Eclipse Webmaster CLA 2019-09-06 15:30:49 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.