[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-27 00:13:47 CET

D.J. Heap wrote:

> Yep, I have tried a variety of pauses -- before closing, after
> closing, fixed length, random length, etc...I can't remember if I've
> tried an exponential back-off, though -- what specifically do you mean
> by that?

This is an algorithm that I believe originated with Ethernet, which has
a similar resource contention problem. The idea is that each time
through the loop you wait twice as long as you waited the last time.
You usually put an upper bound on the wait time though. So for example
you might wait 1 millisecond, then 2, 4, 8, 16, 32, 64, and then max out
the timeout at 100 milliseconds and continue looping with that timeout
as many times as you can stand. Hopefully this example is
unrealistically long.

Anyway, it might be worth trying this. It should give everyone who's
managed to glom onto this temporary path a chance to do their thing and
be done with it.

Luke

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Oct 27 00:14:14 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.