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

Re: TortoiseSVN doesn't wait for my NAS disks to spin up

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Thu, 03 Feb 2011 21:55:02 +0100

On 03.02.2011 16:36, Phil Seakins wrote:
> I have an SVN repository on my Network Access Server. The NAS is
> mapped in my PC as I: The NAS is setup to cycle down the disks after
> 20 mins idle time.
>
> If the disks are asleep and I do a commit, SVN comes back straight
> away with an error something like "unable to access SVN". (Next time
> I'll actually stop and write it down). I have found that I first need
> to access the NAS via Explorer, or anything else that accesses the
> NAS, this spins the drives up. Then, when I redo the commit it goes
> straight through without error.
>
> A typical SVN URL would be; file:///I:/_SVN/Projects/foobar/thisapp
>
> Have I overlooked a setting?

This is actually a bug in your NAS. Because if it is online but
shutdown, it must not return ERROR_NOT_READY but just take longer to
return file accesses.
Because ERROR_NOT_READY means that the device is not ready. It doesn't
mean that the device is not ready *yet* and therefore callers don't have
to wait. The windows explorer works around many bugs in device drivers,
one of them being exactly this one (that's also why it sometimes just
'hangs' while retrying to access a device that's not even there anymore).

if you want TSVN to wait here too and work around your buggy NAS server,
you'd have to ask on the svn mailing list for this. Because it's the svn
library that does all the disk access...

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2702205
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-02-03 21:55:16 CET

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

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