Add invariant to WiredTigerRecoveryUnit::_txnClose()

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Storage Execution
    • 0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We should add the invariant shown below, on the line following https://github.com/mongodb/mongo/blob/master/src/mongo/db/storage/wiredtiger/wiredtiger_recovery_unit.cpp#L203

      void WiredTigerRecoveryUnit::_txnClose(bool commit) {
          ...
          WT_SESSION* s = _session->getSession();
          invariant(s);
          ...
      }
      

            Assignee:
            [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            James Wahlin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: