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

GitHub noreply at github.com
Sun Jun 19 02:12:33 CEST 2016


  Branch: refs/heads/tpc_finish
  Home:   https://github.com/zopefoundation/ZODB
  Commit: c73dfa669b32510fd963a6c52727fc8f06e5d72d
      https://github.com/zopefoundation/ZODB/commit/c73dfa669b32510fd963a6c52727fc8f06e5d72d
  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/DemoStorage.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: 1977a688565d7911136219819a44d609d55ff746
      https://github.com/zopefoundation/ZODB/commit/1977a688565d7911136219819a44d609d55ff746
  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: 3b8addff7f27251c9d15d55c56775f4ec7aaaae2
      https://github.com/zopefoundation/ZODB/commit/3b8addff7f27251c9d15d55c56775f4ec7aaaae2
  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/cab1784bc286...3b8addff7f27


More information about the checkins mailing list