deciding whether to do work in tpc_vote or tpc_finish

Chris Withers <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <[email protected]>
Hi All,

I need to write a data manger that interacts with a transactional system 
that doesn't support two phase commit.

Looking for inspiration, I went to look at zope.sqlalchemy and 
zope.sendmail.

In the non-tpc situation, the former does the "commit" in tpc_vote while 
the latter does it in tpc_finish.

Which is "right"? What are the tradeoffs involved?

cheers,

Chris

_______________________________________________
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 )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.