[Checkins] [zopefoundation/ZODB] 74fba0: Allow serial to be returned as late as tpc_finish

GitHub noreply at github.com
Sun Jun 19 05:19:50 CEST 2016


  Branch: refs/heads/tpc_finish
  Home:   https://github.com/zopefoundation/ZODB
  Commit: 74fba08ad4dc7311ca74c5c9da51c12e0e9dca86
      https://github.com/zopefoundation/ZODB/commit/74fba08ad4dc7311ca74c5c9da51c12e0e9dca86
  Author: Vincent Pelletier <vincent at nexedi.com>
  Date:   2016-06-19 (Sun, 19 Jun 2016)

  Changed paths:
    M src/ZODB/Connection.py
    M src/ZODB/interfaces.py
    M src/ZODB/tests/BasicStorage.py
    M src/ZODB/tests/MTStorage.py
    M src/ZODB/tests/RevisionStorage.py
    M src/ZODB/tests/StorageTestBase.py
    M src/ZODB/tests/TransactionalUndoStorage.py
    M src/ZODB/tests/testDemoStorage.py

  Log Message:
  -----------
  Allow serial to be returned as late as tpc_finish

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).

Co-Authored-By: Julien Muchembled <jm at nexedi.com>


  Commit: cf02e50a49e7d57929130e9e76a455f147337d3c
      https://github.com/zopefoundation/ZODB/commit/cf02e50a49e7d57929130e9e76a455f147337d3c
  Author: Julien Muchembled <jm at nexedi.com>
  Date:   2016-06-19 (Sun, 19 Jun 2016)

  Changed paths:
    M src/ZODB/Connection.py
    M src/ZODB/interfaces.py

  Log Message:
  -----------
  Add DeprecationWarning: IStorage.tpc_finish will have to return the committed tid


  Commit: caea03caf518f243370ac5cc01febdba6a7d701d
      https://github.com/zopefoundation/ZODB/commit/caea03caf518f243370ac5cc01febdba6a7d701d
  Author: Julien Muchembled <jm at nexedi.com>
  Date:   2016-06-19 (Sun, 19 Jun 2016)

  Changed paths:
    M src/ZODB/ConflictResolution.py
    M src/ZODB/Connection.py
    M src/ZODB/interfaces.py
    M src/ZODB/tests/testDemoStorage.py

  Log Message:
  -----------
  IStorage: simplify the API of store/tpc_finish to notify of resolved conflicts


Compare: https://github.com/zopefoundation/ZODB/compare/3b8addff7f27...caea03caf518


More information about the checkins mailing list