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

Re: TSVNCache, crawling network drives

From: Hans-Emil Skogh <Hans-Emil.Skogh_at_tritech.se>
Date: Thu, 22 Sep 2011 07:25:02 +0000

>> I'm showing overlay icons on some mounted network drives. I just
>> noticed that it looks like TSVNCache is periodically crawling the
>> working copies on the network drive.
...
> I've noticed the same behavior on some network drives. From what I
> could find out by debugging is that Windows receives change
> notifications from those drives even though nothing has changed.

This was sort of what I feared. Good news. Then the there's nothing wrong with TSVN, but with the network drive.

> Sometimes those notifications arrive once every second for no
> apparent reason - not sure how I could work around this.

Not sure that we should. But a possible way would be to dial down the sensitivity to update notifications if we are constantly spammed with them. This would reduce the responsiveness of the overlays, but also reduce flickering during massive updates (or broken drive implementations).
If it would be possible I guess it would be ideal to keep a steady but relatively slow update frequency of the crawls during heavy update churning, but being sensitive to when the updates stops coming en masse and trigger an additional crawl when that happens.
Well, as I said, not even sure if it's a good idea to do anything at all...

> My advice: don't put working copies on network drives, or don't
> show overlays there.

Or accept the extra overhead if you use broken network drive implementations. =)

FYI, I'm not seeing the constant re-crawl behavior today. (Yet.)

Hans-Emil

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2843170

To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-09-22 09:25:14 CEST

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.