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

Re: Subversion repository breaks and needs recovery

From: Max Bowsher <maxb_at_ukf.net>
Date: 2004-07-04 15:18:14 CEST

Morten Mertner wrote:
> I believe you are right in that it is a locking problem, as the svnadmin
> process
> will lock/wait indefinately if I try to run the recovery without
> shutting down
> Apache.

That's not a locking *problem*. That is the svn libraries using locking to prevent you from destroying your repository by running
recovery whilst it is still in use.

There are several layers of lock.

1) Subversion repository locking.
2) BDB environment locking.
3) BDB data locking.

Here, you are observing level 1 functioning correctly.

When your repository is hanging, I believe the culprit is a stale lock at level 2.

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Jul 4 15:20:33 2004

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.