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

Apparent repository corruption resulting from dump/load

From: Dan Mercer <dmercer_at_8kb.net>
Date: 2006-08-26 01:50:04 CEST

Howdy Subversives,

I have recently encountered what appears to be repository corruption
resulting from a dump and load of my subversion repository.

Here are the particulars:

   * Subversion 1.3.0
   * fsfs
   * FreeBSD 4.11

The repository was dumped from host1 and loaded into a repository on
host2. The dump/load completed without any errors, but the repository in
host2 is now corrupt:

output from repository on host1:

$ svn cat -r 91056 file:///var/repos/roles/travel/db/expand

$ svn cat -r 91057 file:///var/repos/roles/travel/db/expand
db1.travel.dcn.yahoo.com
db1.travel.mud.yahoo.com
db1.travel.re3.yahoo.com
db1.travel.scd.yahoo.com
db1.travel.sp1.yahoo.com
db2.travel.dcn.yahoo.com
db2.travel.mud.yahoo.com
db2.travel.re3.yahoo.com
db2.travel.scd.yahoo.com
db2.travel.sp1.yahoo.com
db3.travel.dcn.yahoo.com
db3.travel.mud.yahoo.com
db3.travel.re3.yahoo.com
db3.travel.scd.yahoo.com
db3.travel.sp1.yahoo.com

output from repository on host2:

$ svn cat -r 91056 file:///var/repos/roles/travel/db/expand
svn: Unable to find repository location for
'file:///var/repos/roles/travel/db/expand' in revision 91056
$ svn cat -r 91057 file:///var/repos/roles/travel/db/expand
svn: Invalid diff stream: [tgt] insn 0 starts beyond the target view
position

I've tried this on a backup copy of the repository and gotten the same
results. Oddly enough, the checksums for the revs files on both host1
and host are identical:

host1:

$ pwd
/home/repos/db/revs
$ md5 91056
MD5 (91056) = ad90732659b5dfeab4c211bda28cd96d
$ md5 91057
MD5 (91057) = f5b0d431aac261ea9466bf6fcb15fb2b
$ md5 91058
MD5 (91058) = 468770bbbd202b92e0ff37d40be0f427

host2:

$ md5 91056
MD5 (91056) = ad90732659b5dfeab4c211bda28cd96d
$ md5 91057
MD5 (91057) = f5b0d431aac261ea9466bf6fcb15fb2b
$ md5 91058
MD5 (91058) = 468770bbbd202b92e0ff37d40be0f427

I've used svn dump/load without issue for 6-8 months now and haven't
encountered anything like this. Can anyone offer any advice or
assistance in getting to the root cause?

Best,

Dan M.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Aug 26 01:50:17 2006

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.