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

"svnadmin verify" dangerously broken

From: Max Bowsher <maxb_at_ukf.net>
Date: 2004-08-06 12:41:31 CEST

Corruption in the texts of files is not detected by "svnadmin verify".

Also, "svnadmin recover" can sometimes cause problems to appear!

Make a repository. Commit a file. Edit the "strings" db by changing some
characters.
"svnadmin verify" passes! "svnadmin dump" dumps the correct version!

"svnadmin recover". Recovery succeeds, but *now* "svnadmin dump" fails with
checksum errors! And "svnadmin verify" is *still* passing!

So, there are 2 issues.

1) "svnadmin verify" needs to actually read file contents, even though it
doesn't output it.

2) "svnadmin recover" can actually break a repository, if certain corruption
patterns have been applied to the database files. This is nasty, but also,
it means that unless recovery as just been run, svnadmin dump/verify are not
assessing the long-term validity of the repository - problems may
spontaneously develop when currently active logfiles are concluded.

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Aug 6 12:42:17 2004

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.