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

Add invariant to WiredTigerRecoveryUnit::_txnClose()

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Storage
    • None
    • Storage Execution
    • 0

    Description

      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);
          ...
      }
      

      Attachments

        Activity

          People

            backlog-server-execution Backlog - Storage Execution Team
            james.wahlin@mongodb.com James Wahlin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: