[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: Bob Kerns <Bob.Kerns_at_positscience.com>
Date: 2007-06-02 15:59:04 CEST

Oh, great! It makes me very happy to hear that you understand the
issue. Given that Windows Explorer, even on Vista, often leaves empty
folders behind when deleting large trees, you get credits for being way
ahead of the pack!

It usually just gets blamed on antivirus software...

Unfortunately, due to health, family, and work, I can't make any
promises, though I'd love to help. The place to look would be where it's
cleaning up completed transactions in the repository.

I've flagged this to follow up in 3 weeks; we'll see if I have more time
(and a C compiler!) by then.

My next migration (in a couple weeks) will be back from Windows to a new
Linux box, so I don't expect to do any more mass series of commits on
Windows, personally... but I've gotten enough value out of Subversion
I'd be pleased to pay some back.

-----Original Message-----
From: D.J. Heap [mailto:djheap@gmail.com]
Sent: Saturday, June 02, 2007 06:06
To: Bob Kerns
Cc: dev@subversion.tigris.org
Subject: Re: svnadmin load errors on Windows

On 5/28/07, Bob Kerns <Bob.Kerns@positscience.com> wrote:
> On Windows, DeleteFile is NOT SYNCHRONOUS; it marks the file for
> 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

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.



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:59:33 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.