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

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

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 4.1.7
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • Storage NYC 2018-12-17
    • 45

      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.

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

              Created:
              Updated:
              Resolved: