Christian Theune wrote at 2008-10-3 10:32 +0200: >On Fri, 2008-10-03 at 09:55 +0200, Dieter Maurer wrote: >> Jim Fulton wrote at 2008-10-1 13:40 -0400: >> > ... >> >> It may well be that a restart *may* not lead into a fully functional >> >> state (though this would indicate a storage bug) >> > >> >A failure in tpc_finish already indicates a storage bug. >> >> Maybe -- although "file system is full" might not be so easy to avoid >> in all cases.... > >That should be easy to avoid by allocating the space you need in the >first phase and either release it on an abort or write your 'committed' >marker into it in the second phase.
That's true for a "FileStorage" -- but it may not be that easy for other storages (e.g. "BSDDB" storage). -- 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