Juan Pablo Giménez wrote at 2006-10-2 14:56 -0300:
> ...
>but... that's a bug... why zope keep writing in .tmp file if we can't
>recover nothing from there?!?!...

Temporary files usually have purposes different from recovery ;-)

The "*.tmp" file in particular is used to implement the
two phase commit protocol: in the first phase, the transaction
is committed to the "*.tmp" file; in the second phase, the
(relevant) content of the "*.tmp" file is copied to the true
storage file.

As you see from this description, the content of the "*.tmp"
file is relevant only during the commit of a single transaction.

For more information about ZODB, see the ZODB Wiki:

ZODB-Dev mailing list  -  ZODB-Dev@zope.org

Reply via email to