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

Re: svnadmin load errors on Windows

From: D.J. Heap <djheap_at_gmail.com>
Date: 2007-06-02 15:05:51 CEST

On 5/28/07, Bob Kerns <Bob.Kerns@positscience.com> wrote:
[snip]
>
> On Windows, DeleteFile is NOT SYNCHRONOUS; it marks the file for deletion
> after all IO ceases and all handles are closed. This means that if you
> delete all the files in a directory, and then delete the directory, it will
> SOMETIMES FAIL.

Yes, Subversion attempts to deal with this already. See references to
the WIN32_RETRY_LOOP macro in subversion\libsvn_subr\io.c.

It is, of course, possible that code has crept in that does not use
the subversion wrappers for removing files or dirs and so could
exhibit the problem. Do you mind scanning the source for that and
creating a patch if you find any? If you could even scan the source
and file an issue with the details if you find somewhere the
subversion wrappers aren't being used, that would be great too.

Thanks!

DJ

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jun 2 15:06:00 2007

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.