[Zope-dev] deciding whether to do work in tpc_vote or tpc_finish

Chris Withers chris at simplistix.co.uk
Tue Jun 8 06:44:32 EDT 2010


Laurence Rowe wrote:
> Committing in tpc_vote is right so long as you ensure your data
> manager sorts last, and that there are no other data managers in the
> transaction which are using the same trick. 

Why does the latter part matter?

(It is, of course, the situation I'm in, where zope.sqlalchemy is 
operating in non-tpc mode (sqlite doesn't support tpc :-/) and now I'm 
writing another data manager for a service that doesn't support tpc)

cheers,

Chris



More information about the Zope-Dev mailing list