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

Remove inActiveOrKilledMultiDocumentTransaction() from TransactionParticipant

    • Fully Compatible
    • v4.2
    • 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

      inActiveOrKilledMultiDocumentTransaction() was added to detect if an operation was run as part of a multi-document transaction, allowing for the possibility that the transaction was aborted by a concurrent operation. After SERVER-38810, it is not possible for a concurrent operation to abort a transaction, since an operation must check out the session to modify transaction state. We could remove this function and replace all usages with inMultiDocumentTransaction().

            Assignee:
            pavithra.vetriselvan@mongodb.com Pavithra Vetriselvan
            Reporter:
            tess.avitabile@mongodb.com Tess Avitabile (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: