VCS synchronization w ClearCase
What's happening with the new ClearCase. When I try to commit, (Ctrl-K) a dialog appears that shows "Please wait until VCS synchronization is finished."
What is happening? Is it trying to update the whole project? Why is it doing this, I just what to check in the work done.
The old ClearCase plugin didn't do this. It seems to be doing more than just an update (why it would do even that is beyond me)
Please sign in to leave a comment.
Hello Dick,
It is not updating the files - it is updating file statuses to ensure that
the commit dialog shows a correct list of checked out files. Typically file
status updates happen in the background, and there is no delay before showing
the commit dialog. If you do see a delay, that means that the background
status update hasn't completed yet.
--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
We something is definitely wrong. I was working on the project for many hours before doing the commit. If it's supposed to happen in the background, it's not.
I just opened different project (smaller than the one was working with last night). And attempted a commit. it's been synchronizing for minutes now.
If it takes this long, to do this necessary step, even if it happens in the background. It can take longer to update then it takes to fix a bug. For example it takes 10 minutes to sync and it takes me five minutes to do some work. I'd still have to wait an additional five minutes for the sync to happen!
A bit more. An IntelliJ project with only about 50 files is taking many minutes to sync.
Are you checking every file in the ClearCase vob? In my case that's some 3600 files. If this sync is needed it should be limited to the scope of the IntelliJ module's directories.
Just a guess.
Dear Dick,
DL> A bit more. An IntelliJ project with only about 50 files is taking
DL> many minutes to sync.
1. What configuration do you use: CommandLine or Native?
2. Could you please estimate the time for one cleartool command, e.g. "cleartool
ls -directory " on a single versioned file
3. How many writable files do you have in your project?
best wishes,
Michael Gerasimov,
JetBrains Omea Developer
On the project last night I was using NativeClearCase.
This morning on a different project (ComandLine ClearCase) With about 241 source files:
I worked on it for about an hour. Then tried commit, it brought up the status/files dialog nearly instantly. After checkin (pretty much normal speed), the ipr and iml were still checked out.
Then I did another ctrl+k and it's been in ..VCS sync... mode for several minutes. Something happened to make it seemingly forget what it cached as restart the sync.
timing of for an ls -directory on a directory with 15 files took less than two seconds. I did an ls -r at the root of the project (Intellij not the vob) that only took 40 seconds for 5600 file! In fact it finished while the VCS sync was still ongoing.
Let me know what else I can do to help.
Dick
Dear Dick,
DL> Let me know what else I can do to help.
Thanx a lot! One of the next EAP builds will dump an extensive log with all
CCase operations. To be more concrete, we will analyze the performance in
the terms of particular operations.
best wishes,
Michael Gerasimov,
JetBrains Omea Developer
Dear Dick,
DL> Let me know what else I can do to help.
The version of the plugin which will be shipped with the next EAP contains
very descriptive logs of what is done in the background. For a more explicit
diagnostics I advise to use command line mode (even if it is somewhat slower).
After you test it over one or two projects, Idea log files are the most valuable
feedback for me.
best wishes, and thank you in advance
Michael Gerasimov,
JetBrains Developer
Be happy to provide whatever you need.
Note that http://www.jetbrains.net/jira/browse/IDEA-11762 must be addressed first as it makes the Selena unusable for me.