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

When asked to continue a transaction whose txnNumber is too new, TransactionParticipant must abort that transaction

    • Type: Icon: Task Task
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Replication
    • Repl 2018-12-03, Repl 2018-12-17, Repl 2019-01-14

      When TransactionParticipant::_continueMutliDocumentTransaction() is called with a txnNumber that is higher than _activeTxnNumber, it returns NoSuchTransation but does not update _activeTxnNumber or abort the transaction. It must set _activeTxnNumber to txnNumber and abort the transaction (with the new txnNumber). This ensures that no future command may start a transaction with this txnNumber, so the commit decision for this txnNumber cannot change.

            Assignee:
            tess.avitabile@mongodb.com Tess Avitabile (Inactive)
            Reporter:
            tess.avitabile@mongodb.com Tess Avitabile (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: