[ZODB-Dev] callback in tpc_finish
Christian Theune
ct at gocept.com
Thu Jan 17 04:05:57 EST 2008
Hey,
tpc_finish has a callback function that is passed in and should be
called before releasing the commit lock. (This is documented in
BaseStorage, but the interface for tpc_finish does not talk about the
argument.)
Comparing ClientStorage and BaseStorage we found that:
- ClientStorage performs the callback _after_ calling tpc_finish on the
server
- BaseStorage performs the callback _before_ calling _finish on the
actual implementation.
We have the feeling that we either miss the point or one of those cases
is wrong. Can someone shed some light on this?
Christian
--
gocept gmbh & co. kg - forsterstrasse 29 - 06112 halle (saale) - germany
www.gocept.com - ct at gocept.com - phone +49 345 122 9889 7 -
fax +49 345 122 9889 1 - zope and plone consulting and development
More information about the ZODB-Dev
mailing list