On Tue, Jan 14, 2003 at 09:41:02PM +0000, Toby Dickenson wrote:
For FileStorage, all of this is thoroughly tested with the fstest.py script. IMO it is prudent to run fstest at least as often as you pack, perhaps on Data.fs.old.
OK... but what are your options when it finds an error? :( 491604840 object serialno 0x0346d214c379e7dd does not matchtransaction id 0x0346 d21583aaf791 currently running fsrecover.py on a copy of the Data.fs and hoping for the best...
Damage inside a transaction record may not be detected.
For FileStorage, damage at pickle level and ZODB level (dangling references etc) can be checked with fsrefs.py.
Is this new to 2.6? Zope 2.5.1 doesn't come with any such script. -- Paul Winkler http://www.slinkp.com Look! Up in the sky! It's SOLID REPAIRMAN COBRA! (courtesy of isometric.spaceninja.com)