Re: deciding whether to do work in tpc_vote or tpc_finish
Jim Fulton <[email protected]>
| Newsgroups | gmane.comp.web.zope.devel |
|---|---|
| Message-ID | <[email protected]> |
This is intended as a broad response to the thread, rather than a response to any specific post. :) I've been thinking of expanding the data manager API to add an optional tpc_rollback method. If tpc_finish returns a value and a data manager provided tpc_rollback and some other data manager fails in tpc_finish, then tpc_rollback would be used to *try* to recover from the other data managers failure. Note that even if tpc_rollback is implemented, it might fail if the transaction can't be rolled back (due, typically, to subsequent conflicting transactions). Jim -- Jim Fulton _______________________________________________ Zope-Dev maillist - [email protected] https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )