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

Vincent Pelletier vincent at nexedi.com
Tue Feb 7 17:05:46 UTC 2012


Le jeudi 16 décembre 2010 17:19:33, Jim Fulton a écrit :
> Cool. I'll review this for 3.11 and it or somethink like it will go
> into that release.

bump :)

Attached are:
- a stand-alone change to tests/TransactionalUndoStorage.py (it should be
  acceptable to apply it even without considering the main feature change of
  my patch)
- the main patch, updated a bit:
  - fix case where Connection._creating is not a dict (it was a list on older
    ZODB versions - although it shouldn't matter for trunk inclusion)
  - fix serials of newly created objects (obj._p_changed is None, so serial
    was not set)

I verified there is no regression in "setup.py test", but I get 2 failures 
(both with an without my changes), one on ZEO/tests/zeo-fan-out.test and 
another on ZEO.tests.testZEO.client_has_newer_data_than_server .

Regards,
-- 
Vincent Pelletier
ERP5 - open source ERP/CRM for flexible enterprises
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-The-number-of-entries-doesn-t-matter-as-long-as-both.patch
Type: text/x-patch
Size: 972 bytes
Desc: not available
URL: <http://mail.zope.org/pipermail/zodb-dev/attachments/20120207/171b152f/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Allow-serial-to-be-returned-as-late-as-tpc_finish.patch
Type: text/x-patch
Size: 11270 bytes
Desc: not available
URL: <http://mail.zope.org/pipermail/zodb-dev/attachments/20120207/171b152f/attachment-0001.bin>


More information about the ZODB-Dev mailing list