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

RE: Stone-dead repository

From: Stuart Robertson <dogmatix_at_absolutesys.com>
Date: 2004-02-20 15:08:42 CET

Further to my last email, I've just retried "svnadmin lstxns" on the dead
test repository (that is, in /tmp/TestRepos) and svnadmin still hangs.

There should be no processes accessing the repository in /tmp/TestRepos, so
I can't understand why both svnadmin and svnlook simply hang trying to
access it.

Any pointers or ideas?

At the worst I can tar up the broken repository and mail it to someone who
might be able to diagnose the problem?

Thanks for all the help so far.

Regards,
Stuart.

> -----Original Message-----
> From: Stuart Robertson [mailto:dogmatix@absolutesys.com]
> Sent: 20 February 2004 04:04 PM
> To: 'Tobias Ringström'
> Cc: users@subversion.tigris.org
> Subject: RE: Stone-dead repository
>
> > When you ran revocer, did you make sure that there were no other
> > processes have the DB open, e.g. a hung apache process? Recovery takes
> > an exclusive lock on the DB which basically means that it waits until
> > all other processes have closed the DB. This is usually the problem if
> > you don't see any disc activity when recover is "running".
>
> I shutdown apache and then moved the test repository out of the
> /svnrepos/repositories and into /tmp so that I could re-enable apache to
> allow other developers to continue working.
>
> When I ran svnadmin -lstxns it was on /tmp/TestRepos
>
> > > 1) Does anyone know what might have caused the repository to die (or
> > > become corrupted?)?
> > >
> > It's hard to say without more details, i.e. the apache log etc.
>
> Which log file should I be looking at?
>
> > > 2) What strategies can I adopt to enable a commit-by-commit backup
> > > (incremental preferably) of each repository so that, in the event of
> > > something going wrong, I can (hopefully fairly quickly) restore the
> > > repository to a working state and lost at most the last commit.
> > >
> > You can perform an incremental dump in the post-commit hook.
>
> Thanks.. I'll look into incremental dumps.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Mar 9 00:15:59 2004

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.