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

WT invariant `_shuttingDown.loadRelaxed() & kShuttingDownMask` on shutdown

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Storage
    • Labels:
      None
    • Storage Execution
    • ALL

      MongoD crashed with this invariant on a local resmoke.py run after I pressed CTRL+C to stop test execution.

      This is the call stack that I obtained from the generated dump:

       	[External Code]	
       	mongod.exe!mongo::`anonymous namespace'::endProcessWithSignal(int signalNum=22) Line 77	C++
       	mongod.exe!mongo::`anonymous namespace'::abruptQuit(int signalNum=22) Line 241	C++
       	[External Code]	
       	mongod.exe!mongo::invariantFailed(const char * expr=0x00007ff6714abb00, const char * file=0x00007ff6714abac0, unsigned int line=396) Line 104	C++
       	mongod.exe!mongo::invariantWithLocation<bool>(const bool & testOK=false, const char * expr=0x00007ff6714abb00, const char * file=0x00007ff6714abac0, unsigned int line=396) Line 71	C++
      >	mongod.exe!mongo::WiredTigerSessionCache::getSession() Line 399	C++
       	mongod.exe!mongo::WiredTigerRecoveryUnit::_ensureSession() Line 295	C++
       	mongod.exe!mongo::WiredTigerRecoveryUnit::getSessionNoTxn() Line 349	C++
       	mongod.exe!mongo::WiredTigerKVEngine::isCacheUnderPressure(mongo::OperationContext * opCtx=0x0000029415f65c60) Line 1956	C++
       	mongod.exe!mongo::KVStorageEngine::isCacheUnderPressure(mongo::OperationContext * opCtx=0x0000029415f65c60) Line 685	C++
       	mongod.exe!mongo::SnapshotWindowUtil::decreaseTargetSnapshotWindowSize(mongo::OperationContext * opCtx=0x0000029415f65c60) Line 154	C++
       	mongod.exe!mongo::startPeriodicThreadToDecreaseSnapshotHistoryCachePressure::__l2::<lambda>(mongo::Client * client=0x000002941199c0c0) Line 63	C++
       	[External Code]	
       	mongod.exe!mongo::PeriodicRunnerImpl::PeriodicJobImpl::_run::__l2::<lambda>() Line 120	C++
       	[External Code]	
      

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: