diff options
author | Ben Caimano <ben.caimano@mongodb.com> | 2019-12-16 21:39:41 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2019-12-16 21:39:41 +0000 |
commit | 86efdd6b047927d3a37577a6033bacc709c7ae89 (patch) | |
tree | 0fc01e4928e001914731159ce8c2dec7116929d0 /src/mongo/db/session_killer.h | |
parent | ec498c5968974012d50d6d04c26cd2cd0db87d22 (diff) | |
download | mongo-86efdd6b047927d3a37577a6033bacc709c7ae89.tar.gz |
SERVER-43945 Expose out of order latch acquisitions in serverStatus
This review does several related things:
- Modifies the Mutex type to have one Identity object per invocation context
- Adds a latchAnalysis field to serverStatus
- Officially turns on CI-only failure for acq level violations
- Changes a few acq level declarations to be more permissive
Diffstat (limited to 'src/mongo/db/session_killer.h')
-rw-r--r-- | src/mongo/db/session_killer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/session_killer.h b/src/mongo/db/session_killer.h index 8b5c14bd2ba..45ca8b27a86 100644 --- a/src/mongo/db/session_killer.h +++ b/src/mongo/db/session_killer.h @@ -132,7 +132,7 @@ private: stdx::thread _thread; - Mutex _mutex = MONGO_MAKE_LATCH(HierarchicalAcquisitionLevel(0), "SessionKiller::_mutex"); + Mutex _mutex = MONGO_MAKE_LATCH(HierarchicalAcquisitionLevel(2), "SessionKiller::_mutex"); stdx::condition_variable _callerCV; stdx::condition_variable _killerCV; |