[BUG] Zope does not close its database on shutdown (was: [Zope-dev] close() in ZODB)

Dieter Maurer dieter at handshake.de
Tue Jul 26 13:24:18 EDT 2005


aurelcalonne at free.fr wrote at 2005-7-26 11:40 +0200:
>I'm currently hacking the ZODB, and I've found that the close() method in DB.py
>which call close() on FileStorage is never called.
>Is this a bug ?

Yes, looks like a bug....

As a consequence, the index file of "ZODB.FileStorage.FileStorage"'s
is not rebuilt.


Please file a bug report.


The attached patch solves the problem.

-- 
Dieter

-------------- next part --------------
A non-text attachment was scrubbed...
Name: CloseDB.pat
Type: application/x-patch
Size: 534 bytes
Desc: Patch to let Zope close its database on shutdown
Url : http://mail.zope.org/pipermail/zope-dev/attachments/20050726/01cdd904/CloseDB.bin


More information about the Zope-Dev mailing list