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

possible database corruption; need advice

From: Mats Nilsson <mats.nilsson_at_xware.se>
Date: 2002-05-26 14:30:58 CEST

Hi.

I've been toying with svn to try out different directory layouts for our
different projects. During this period, I've added and deleted files and
directories, eventually reaching a point where I would make copies of the
trunk to a /.../tags/ directory. Every thing has worked perfectly until this
point, using a svn (/trunk@1949) on windows xp. ra_local.

I first started noting problems when I tried to 'svn cp
file:///repos/x/trunk/ file:///repos/x/tags/foo', where /x/tags didn't exist
in the repo. I got a nonintuitive error message (don't remember right now),
and had to 'svnadmin rmtxn' the non-finished txn.

I 'svn mkdir'ed the missing directory and resubmitted the svn cp which then
worked.

Then I tried 'svn cp -r xxx file:///repos/x/trunk file:///repos/x/tags/bar'
which simply didn't work. In fact, svn crashed. I can reproduce this, and
post a stackdump if anyone thinks it is interesting.

Anyway, after this nothing works. Even a simple 'echo bar > foo; svn add
foo; svn ci -m ""' hangs forever. I haven't intercepted this yet.

I have not yet tried to find a reproduction sequence, and I don't really
expect to be able to, but I'll give it a shot later tonight anyway.

My questions to the list:

Do you want me to examine the state of the repository in any way? I would
need guidance.

Are there any BDB tools, or svnadmin calls that can be used? I tried
db_verify on the nodes db and it reports something, but I don't have a clue
to what it means, or if it signifies a problem:

$ ./db_verify.exe c:/mats/svn/repos/db/nodes
db_verify: Out-of-order key, page 1 item 20
db_verify: Out-of-order key, page 1 item 44
db_verify: Out-of-order key, page 1 item 108
db_verify: Out-of-order key, page 1 item 120
db_verify: Out-of-order key, page 1 item 138
db_verify: Out-of-order key, page 1 item 172
db_verify: Out-of-order key, page 1 item 210
db_verify: Out-of-order key, page 1 item 236
db_verify: Out-of-order key, page 1 item 266

I don't care much for the repository, just wanted to let you all know what
went down.

Mats

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun May 26 14:34:06 2002

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.