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

WiredTigerRecoveryUnit::_txnOpen() should abort while commit/rollback handlers are running

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor - P4 Minor - P4
    • 4.1.7
    • None
    • Storage
    • None
    • Fully Compatible
    • Storage NYC 2018-12-17
    • 45

    Description

      Currently, we hit this invariant in WiredTigerRecoveryUnit if a rollback handler accidentally reopens the transaction. This invariant is triggered after all the rollback handlers have run, making it hard to identify the errant handler. As a rule, commit and rollback handlers should avoid accessing the OperationContext and RecoveryUnit.

      It would be useful for debugging to abort at the point where the rollback/commit handler is attempting to reopen the transaction.

      Attachments

        Activity

          People

            benety.goh@mongodb.com Benety Goh
            benety.goh@mongodb.com Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: