[Zope-dev] zope.sqlalchemy locks up transaction

Dieter Maurer dieter at handshake.de
Thu Sep 18 12:21:23 EDT 2008


Brian Sutherland wrote at 2008-9-18 10:00 +0200:
> ...
>It looks to me that in a two phase commit, the tpc_vote which is called
>is:
>
>    def tpc_vote(self, trans):
>        if self.tx is not None: # there may have been no work to do
>            self.tx.prepare()
>            self.state = 'voted'
>
>is that what you mean by clearing state?

I have not recognized that there are two implementations for "tpc_vote" --
my criticims was against the wrong one.



-- 
Dieter


More information about the Zope-Dev mailing list