[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: Jason Malinowski <jason_at_jason-m.com>
Date: Mon, 17 Aug 2009 19:58:40 -0700

txn-current-lock is (to my understanding) an empty file that is created on the first operation to a repository, but otherwise just sits around waiting for people to grab a lock on it. There's nothing wrong here.

Jason Malinowski

> -----Original Message-----
> From: Jim the Standing Bear [mailto:standingbear_at_gmail.com]
> Sent: Monday, August 17, 2009 11:30 AM
> To: users_at_subversion.tigris.org
> Subject: Re: What does txn-current-lock do?
>
> 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=238
> 4478
>
> To unsubscribe from this discussion, e-mail: [users-
> unsubscribe_at_subversion.tigris.org].

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2384601

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-08-18 04:59:44 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.