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

Re: Windows XP "Access denied" svn_io_rename

From: Luke Blanshard <luke_at_blanshard.us>
Date: 2003-10-26 23:07:55 CET

D.J. Heap wrote:

> ... With our AV software, the loop patch is the only way we can finish
> any non-trivial checkout or update -- it has even failed on incredibly
> trivial updates. I've recently upped the loop to 10,000 because on
> some machines under stress (a build is going and they do an update or
> checkout on another project) we still (rarely) experienced the problem
> on 100 and 1,000 count loops. Lovely. ...

Just out of curiosity, have you tried an exponential back-off, or are
you just blindly looping as fast as possible? Given that at least part
of the problem is contention with other processes, waiting before
retrying will probably give you better results.

It is of course a pity that Windows doesn't share Unix's approach to
atomicity in the filesystem. But it is still a fact. There is no way
to make this kind of algorithm perfect on Windows. In my experience,
some kind of retrying is an absolute necessity. As ugly as it of course is.


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Oct 26 23:08:23 2003

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

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