[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[TSVN] TSVNCache timing bug

From: Molle Bestefich <molle.bestefich_at_gmail.com>
Date: 2005-03-16 23:01:02 CET

Seems there's a subtle timing issue in the overlay cache.

I don't have the farthest clue how I could debug TSVNCache.
If anybody has an intelligent way to go about it, tell :-).

As often is with these things, I can't reproduce it.
I can provide a screenshot though, and tell you what I did.

1. Open My Computer
2. Open C:\
3. All items shows up for a brief moment, but the folder is then
automatically refreshed...
4. The folder stays almost-blank for some time - the only item it
shows is the "agent" folder (or was it agent-devel? Anyway. Think it
was "agent".)
5. After some hefty disk activity, the rest of the items pop up.
6. The overlay icon for the WC "agent-devel" is incorrectly applied to
the "agent" folder.

For comparison, I opened another C:\ folder right next to the one with
the misplaced overlay.

Pressing F5 to refresh the folder made the problem go away.

I can think of 3 things that took place at the same time:
 - I was opening a folder (C:\) in Explorer
 - TSVNCache was updating something on disk (heavy disk activity) -
seems triggered by the open of C:\.
 - TSVNCache (?) told the C:\ window to refresh - the explorer window
hung immediately, waiting for TSVNCache to finish whatever
(disk-related) stuff it was doing.

Not sure why the explorer window wasn't cleared entirely but left that
one folder hanging while refreshing.

I don't expect anyone to fix this and it's not a big bother.
I just thought I'd share it in case someone has an 'Aha!' experience.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org

cache_timing.png
Received on Wed Mar 16 23:01:41 2005

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.