[prev in list] [next in list] [prev in thread] [next in thread] 

List:       zodb-dev
Subject:    Re: [ZODB-Dev] HOWTO recover from Data.fs.tmp
From:       "Dieter Maurer" <dieter () handshake ! de>
Date:       2006-10-03 18:28:20
Message-ID: 17698.43972.282336.244875 () gargle ! gargle ! HOWL
[Download RAW message or body]

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
_______________________________________________
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic