[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: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Thu, 22 Sep 2011 08:38:08 +0200

On 21.09.2011 16:06, Hans-Emil Skogh wrote:
> Hi!
>
> 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. It does this divided in chunks,
> approximately every two seconds. When all working copies have been
> crawled, it starts from the beginning again.
>
> This leads to the overlay icons in explorer flickering every two
> seconds, as the information is refreshed (even though nothing has
> changed). And of course, to some extra network traffic.
>
> Is this the intended behavior, or have I stumbled upon a bug? I
> realize that it is not trivial to keep overlays up to date on a
> network drive, but polling every two seconds feels like a slightly
> heavy handed approach. Could it be improved somehow?

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. Sometimes those
notifications arrive once every second for no apparent reason - not sure
how I could work around this.
My advice: don't put working copies on network drives, or don't show
overlays there.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2843161
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-09-22 08:38:24 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.