[ZODB-Dev] HOWTO recover from Data.fs.tmp

Dieter Maurer dieter at handshake.de
Tue Oct 3 14:28:20 EDT 2006


Juan Pablo Giménez wrote at 2006-10-2 18:38 -0300:
> ...
>    but the real problem wasn't a deleted file... was a corrupted
>file... and a sysadmin who doesn't read the log file...

The ZODB raised an exception and the application (Zope) logged it
and then continued.

Formerly, errors in the second commit phase caused Zope
to refuse any transactions until a restart (with clearly visible
request failure).

Apparently, someone modified the behaviour in this respect -- maybe
because it has been too drastical.

>    but... if zope knows about the corrupted Data.fs, why keeps writing
>into .tmp file?!

Because, it is used in the first stage of the commit
while your problem apparently was only detected in the second
phase.



-- 
Dieter


More information about the ZODB-Dev mailing list