[ZODB-Dev] What's best to do when there is a failure in the second phase of 2-phase commit on a storage server

Christian Theune ct at gocept.com
Fri Oct 3 04:32:19 EDT 2008


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.

-- 
Christian Theune · ct at gocept.com
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 7 · fax +49 345 1229889 1
Zope and Plone consulting and development
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://mail.zope.org/pipermail/zodb-dev/attachments/20081003/3bf49c9c/attachment.bin 


More information about the ZODB-Dev mailing list