Re: svnadmin: Malformed file
From: John Szakmeister <john_at_szakmeister.net>
Date: 2006-10-04 23:05:48 CEST
----- Johnathan Gifford <jgifford@wernervas.com> wrote:
Or run it on every commit (you can put it in the post-commit and just check the revision that was committed).
> But just as important make sure you do an incremental dump of each
This is where running 'svnadmin verify' on every commit would be beneficial. The problem is that the data is being corrupted as part of the commit process. So the commit succeeds without error, despite the fact that the data just became corrupted. Having it in the post-commit would allow you to throw an error back to the user and do something like send an email, so that an administrator can fix it ASAP.
Oh the other hand, Malcome just recently committed some code that implements some locking around the transactions, with the idea that another process won't be able to come and take over the transaction. This should prevent the corruption from occurring. I believe it's already been nominated for backport, so hopefully it won't be too much longer before that's released.
-John
---------------------------------------------------------------------
|
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.