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

RE: AW: AW: AW: How to check integrity of database?

From: Fabian Cenedese <Cenedese_at_indel.ch>
Date: 2005-10-07 08:41:54 CEST

>> We don't bother to checksum them, because they are
>> unversioned, and you shouldn't be storing anything critical
>> in there anyway.
>
>I don't understand why you don't checksum the properties. I do
>understand why the properties/log messages aren't versioned, but I'd
>still like to know when my repository has been corrupted somehow.
>
>I used to trust my nightly batch run of "svnadmin verify"'s to inform me
>when something has gone wrong. But as I understand now some external
>event (virus, disk damage) might alter the property part of the
>repository database and "svnadmin verify" might never notice this. I'm
>not really happy about this...

These information can be set any time and countless times to new values
with svn admin, be it a user or a virus. As they are unversioned you
won't ever find a trace that they changed. Anyone can store any data
if he has access to the machine. As the checksum would need to
get updated on every change you will never find an error. The only
thing you could detect with that checksum is a hardware error.
And if there's something wrong with the disc it would surely also
affect the real data files.

bye Fabi

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Oct 7 08:43:31 2005

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.