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

svnadmin recovery takes "forever" tip

From: Helge Jensen <helge.jensen_at_slog.dk>
Date: 2005-01-19 21:53:11 CET

I've had a database wedge on svn 0.37.0, with the BDB backend.

When I did the "svnadmin recovery" it seemed to take forever... atleast,
it didn't finish in 7 hours wall-clock (having eaten roughly 270

At that point I was desperate to get the server up and running again.
All the backups from within the last month couldn't svnadmin dump,
because of "reference to missing revision", so obviously "something" had
been wrong for a long time!

Then, I stumbled upon a mail about BDB recoveries, stating that BDB
recovery time is (at least) linear in the size of "*log*" files. So, I
did (yet another :) copy of the wedged repo to a temp-area, removed
log.* and __log* and ran svnadmin recover.

Less than 10 seconds later, I had an unwedged repo!

Now, the svnadmin dump has finished dumping the whole repo, so
everything seems fine now. If I had only known.... which explains this
mail to the list :)

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jan 19 21:55:48 2005

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