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

Re: What does txn-current-lock do?

From: Jim the Standing Bear <standingbear_at_gmail.com>
Date: Mon, 17 Aug 2009 14:30:23 -0400

Thanks Blair. I will read the structure on fsfs; however, at the
moment, that txn-current-lock is giving us a headache. We are running
an svnserve using svn+ssh, not just file://. The txn-current-lock is
dated back in June where as the txn-current is dated to just a few
days ago. Does this mean the owner of the lock didn't successfully
commit and left something hanging?

Just now, I was trying to create a new folder in the repository, and
it gave me a permission problem because of this lock. Is there a way
to force release this lock? Thanks.

-- Jim

P.S. Sorry about accidentally taking the discussion off the list.
Gmail's reply all button was hiding :-)

On Mon, Aug 17, 2009 at 2:04 PM, Blair Zajac<blair_at_orcaware.com> wrote:
> Jim the Standing Bear wrote:
>>
>> Hello,
>>
>> What does txn-current-lock do?  The name suggests that is a lock for
>> txn-current, but in my situation, the owner of txn-current-lock is
>> different than that of txn-current.  Is this normal?  Thanks.
>
> txn-current-lock is a file that svn locks on to make modifications to
> txn-current.  Since txn-current-lock is only created once and then used for
> locking, if you have different users committing to the repository, then the
> two owners can be different.
>
> Look for more info here:
>
> http://svn.collab.net/repos/svn/trunk/subversion/libsvn_fs_fs/structure
>
> BTW, if you have two or more people committing into the same repository
> using file://, you really should set up an Apache or svnserve server
> instead.
>
> Regards,
> Blair
>

-- 
--------------------------------------
Standing Bear Has Spoken
--------------------------------------
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2384478
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-08-17 20:31:14 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.