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

Dead repository with 0.35.0-to-be

From: John Peacock <jpeacock_at_rowman.com>
Date: 2003-12-17 13:03:19 CET

I have a scheduled update running every night that updates my APC (Archive of
Perl Changes) repository with any patches applied. I just recreated it last
weekend (using 0.34.0) and the autoupdates have run fine for several days (using
0.35.0-to-be).

Last night, however, I was also dumping an old copy of the APC (from 0.27.0
days) into a new repository (on a different drive) when the auto-update started.
  I see lines these lines in the log:

> 2003-12-17 00:04:35.946815500 svn: Unable to open an ra_local session to URL
> 2003-12-17 00:04:35.946878500 svn: Unable to open repository 'file:///var/svn-repository/perl5/branches/maint-5.6'
> 2003-12-17 00:04:35.946909500 svn: Berkeley DB error while opening 'changes' table for filesystem /var/svn-repository/perl5/db:
> 2003-12-17 00:04:35.946912500 Cannot allocate memory

and now the repository itself is totally dead:

> $ svnadmin recover /var/svn-repository/perl5
> Please wait; recovering the repository may take some time...
> svn: DB_RUNRECOVERY: Fatal error, run database recovery

Even running Berkeley's db_recover yields little more than several screens of this:

> db_recover: PANIC: fatal region error detected; run recovery
> db_recover: PANIC: fatal region error detected; run recovery
> ...
> db_recover: PANIC: fatal region error detected; run recovery
> db_recover: DB_ENV->open: DB_RUNRECOVERY: Fatal error, run database recovery

So it is completely hosed.

-rw-rw---- 1 jpeacock svn 11M Dec 17 07:01 changes
-rw-rw---- 1 jpeacock svn 24K Dec 17 07:01 copies
-rw-rw---- 1 jpeacock svn 1.5K Dec 14 09:01 DB_CONFIG
-rw-rw---- 1 jpeacock svn 1.5K Dec 14 09:00 DB_CONFIG~
-rw-rw-r-- 1 jpeacock jpeacock 1023K Dec 16 01:29 log.0000009750
-rw-rw-r-- 1 jpeacock jpeacock 503K Dec 17 01:00 log.0000009751
-rw-rw---- 1 jpeacock svn 19M Dec 17 07:01 nodes
-rw-rw---- 1 jpeacock svn 20M Dec 17 07:01 representations
-rw-rw---- 1 jpeacock svn 400K Dec 17 07:01 revisions
-rw-rw---- 1 jpeacock svn 4.2G Dec 17 07:01 strings
-rw-rw---- 1 jpeacock svn 18M Dec 17 07:01 transactions
-rw-rw---- 1 jpeacock svn 8.0K Dec 17 07:01 uuids

Should I wipe it out and restart, or does anyone want to take a crack at fixing it?

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4720 Boston Way
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Dec 17 13:03:38 2003

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.