[Zope-dev] deciding whether to do work in tpc_vote or tpc_finish
Jim Fulton
jim at zope.com
Tue Jun 8 09:38:19 EDT 2010
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
More information about the Zope-Dev
mailing list