[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: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2007-08-03 15:10:14 CEST

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.

-- 
C. Michael Pilato <cmpilato@collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

Received on Fri Aug 3 15:08:40 2007

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