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

Re: Svn: Can't get exclusive lock

From: Malcolm Rowe <malcolm-svn-dev_at_farside.org.uk>
Date: 2007-08-03 15:50:59 CEST

On Fri, Aug 03, 2007 at 09:10:14AM -0400, C. Michael Pilato wrote:
> Malcolm Rowe wrote:
> > On Thu, Aug 02, 2007 at 10:55:43AM -0400, C. Michael Pilato wrote:
> >> I *can* tell you that this error:
> >>
> >>> svn: Can't get exclusive lock on file
> >>> '/SVN/db/transactions/2323-1.txn/rev-lock': No locks available
> >> is not related to *Subversion* locks (as in, 'svn lock some/file/path'), but
> >> OS/filesystem-level locks. I do find it interesting that recovery works for
> >> you, since that operation also takes out filesystem-level locks on the
> >> repository.
> >>
> >
> > (recover is a no-op on FSFS on 1.4.x, that's why).
>
> Actually, recovery is not quite the no-op you might think. My recollection
> (and reading of the code just now) indicated that libsvn_repos still takes
> out the repos-level lock before calling the no-op svn_fs_berkeley_recover()
> function.
>

Take another look at repos.c:lock_repos() :-)

Regards,
Malcolm

  • application/pgp-signature attachment: stored
Received on Fri Aug 3 15:49:23 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.