You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Philippe Lavoie <ph...@cactus.ca> on 2003/06/27 21:07:30 UTC

Can unlock and recover takes forever

I did a "svn update" and everything locked. I tried to "svn cleanup" to
no avail. Reading the website, I then tried "svnadmin recover my/repos"
it has now been displaying the message that it is recovering for the
last 15 minutes... I'm getting nervous...

 

Suppose that recover fails and that I have to manually stop the process.
What are the chances that I didn't destroy the repository? (I didn't
make a backup of the db if you are wondering).

 

Anyway, locking is very confusing when the only thing I was doing was
updating my repository. I don't see why it screwed my working copy
because someone else had an interruption or something. (just my feeling
on the subject)

 

Anyway, if you can bring me some hope and steps on how the recover the
database. It would be appreciated. I have to leave now, so I don't know
if it will be done within the hour...

 

Philippe Lavoie

 

   Cactus Commerce         eBusiness. All Business.

 Tel 819.778.0313 x302 * 888.CACTUS.0 * Fax 819.771.0921

www.cactuscommerce.com philippe.lavoie@cactuscommerce.com

 


Re: Can unlock and recover takes forever

Posted by cm...@collab.net.
"Philippe Lavoie" <ph...@cactus.ca> writes:

> I did a "svn update" and everything locked. I tried to "svn cleanup" to
> no avail. Reading the website, I then tried "svnadmin recover my/repos"
> it has now been displaying the message that it is recovering for the
> last 15 minutes... I'm getting nervous...

'svnadmin recover' can take a very long time depending on the state of
your repository.  I've seen it return immediately, and I've watched it
churn for hours.  For recovery to work, though, the recovery process
*must* be the only process accessing the repository.  So, to be safe,
shutdown Apache and make sure nothing else is touching the repos
before you run 'svnadmin recover'.

> Suppose that recover fails and that I have to manually stop the process.
> What are the chances that I didn't destroy the repository? (I didn't
> make a backup of the db if you are wondering).

Chances are very good that you did NOT destroy the repository.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org