Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-39613

Remove kCommittingWithPrepare and kCommittingWithoutPrepare from TransactionState

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v4.2
    • Sprint:
      Repl 2019-06-17, Repl 2019-07-01, Repl 2019-07-15, Repl 2019-07-29, Repl 2019-08-12, Repl 2019-08-26, Repl 2019-09-09

      Description

      The kCommittingWithPrepare and kCommittingWithoutPrepare transaction states were originally added because needed to release the TransactionParticipant mutex before calling into the OpObserver, and a concurrent operation could modify the TransactionParticipant state while the mutex was not held. After SERVER-38810, however, the session must be checked out in order to modify TransactionParticipant state, so the kCommittingWithPrepare and kCommittingWithoutPrepare transaction states are likely unnecessary.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              siyuan.zhou Siyuan Zhou
              Reporter:
              tess.avitabile Tess Avitabile
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: