Remove inActiveOrKilledMultiDocumentTransaction() from TransactionParticipant

XMLWordPrintableJSON

    • 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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
            Reporter:
            Tess Avitabile (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: