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

Subversion Ate My Repository

From: Matt Navarre <mnavarre_at_cox.net>
Date: 2004-06-04 05:26:30 CEST

I've been having problems with subversion dumping core when trying to do a
large commit on the local machine (file:/// URI). This leaves the DB needing
recovery. I also just upgraded to 1.0.4, and when running svnadmin recover
svnadmin dumped core. now all the __db.* files are *gone* is there anyway to

This is on RedHat 9, svn 1.0.4. The recovery was run as the repository owner.

Here's what happens on commit:
<225 rasputin.lan/src/HDF5># svn ci -m"Cleanup DOS damage" .
Sending HDF5/hdf5-1.2.1/COPYING
Sending HDF5/hdf5-1.2.1/HISTORY
Sending HDF5/hdf5-1.2.1/INSTALL
Sending HDF5/hdf5-1.2.1/INSTALL_TFLOPS
Sending HDF5/hdf5-1.2.1/INSTALL_Windows.txt
Sending HDF5/hdf5-1.2.1/INSTALL_parallel
Sending HDF5/hdf5-1.2.1/MANIFEST
Sending HDF5/hdf5-1.2.1/Makefile.dist

<snip more files>
Sending HDF5/hdf5-1.2.1/tools/testfiles/tstr2.h5
Sending HDF5/hdf5-1.2.1/tools/testh5dump.sh
Sending HDF5/hdf5-1.2.1/tools/testh5toh4
Transmitting file data ..............................................Abort
(core dumped)

and recovering the DB:
[svnadmin@rasputin ~]$ svnadmin recover /usr/local/svn/repos
Please wait; recovering the repository may take some time...
Segmentation fault (core dumped)

After the crash:
[svnadmin@rasputin db]$ ls -l
total 138808
-rw-rw-r-- 1 svnadmin svn 573440 Jun 3 20:04 changes
-rw-rw-r-- 1 svnadmin svn 8192 Jun 3 20:04 copies
-rw-rw-r-- 1 svnadmin svn 1740 May 17 18:19 DB_CONFIG
-rw-rw-r-- 1 svnadmin svn 1048534 May 17 19:02 log.0000000001
<snip log files>
-rw-rw-r-- 1 svnadmin svn 1047500 Jun 3 20:02 log.0000000073
-rw-rw-r-- 1 svnadmin svn 548864 Jun 3 20:04 nodes
-rw-rw-r-- 1 svnadmin svn 397312 Jun 3 20:04 representations
-rw-rw-r-- 1 svnadmin svn 8192 Jun 3 20:04 revisions
-rw-rw-r-- 1 svnadmin svn 63737856 Jun 3 20:04 strings
-rw-rw-r-- 1 svnadmin svn 8192 Jun 3 20:04 transactions
-rw-rw-r-- 1 svnadmin svn 8192 Jun 3 20:04 uuid

it was a hard sell, since he's a database person, and as far as I've seen, 
once those database worms eat into your brain, it's hard to ever get anything 
practical done again. To a database person, every nail looks like a thumb. Or 
something like that. - jwz
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jun 4 05:27:55 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.