[SERVER-41015] WT invariant `_shuttingDown.loadRelaxed() & kShuttingDownMask` on shutdown Created: 05/May/19  Updated: 27/Oct/23  Resolved: 02/Apr/20

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Kaloian Manassiev Assignee: Backlog - Storage Execution Team
Resolution: Gone away Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Storage Execution
Operating System: ALL
Participants:

 Description   

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]	


Generated at Thu Feb 08 04:56:35 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.