[ZODB-Dev] [RFC] Allow serial to be returned as late as tpc_finish.

Vincent Pelletier vincent at nexedi.com
Tue Dec 14 11:40:18 EST 2010


This makes possible for storage to allocate serial inside tpc_finish,
removing the requirement to serialise 2PC's second phase phase (tpc_vote
to tpc_finish/tpc_abort).
---
src/ZODB/Connection.py                     |   11 +++++++-
src/ZODB/interfaces.py                     |    6 +++-
src/ZODB/tests/BasicStorage.py             |    4 ++-
src/ZODB/tests/MTStorage.py                |    4 ++-
src/ZODB/tests/RevisionStorage.py          |    4 ++-
src/ZODB/tests/StorageTestBase.py          |   10 ++++---
src/ZODB/tests/TransactionalUndoStorage.py |   36 +++++++++++++++++-----------
7 files changed, 51 insertions(+), 24 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Allow-serial-to-be-returned-as-late-as-tpc_finish.patch
Type: text/x-patch
Size: 10382 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zodb-dev/attachments/20101214/ce80d3e9/attachment.bin 


More information about the ZODB-Dev mailing list