diff options
author | Benety Goh <benety@mongodb.com> | 2020-01-15 15:59:44 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2020-01-15 15:59:44 +0000 |
commit | b4aec2e705d1253c6ec7ee9e91ff091bf742df81 (patch) | |
tree | e94fffe537fcbb63429026f391150d3d2aabc1a0 | |
parent | c0c5a486846f9d0b4a0ee6db6f58df6a127e6da7 (diff) | |
download | mongo-b4aec2e705d1253c6ec7ee9e91ff091bf742df81.tar.gz |
SERVER-43910 lockInfo command output includes Locker::getDebugInfo()
(cherry picked from commit 078f31ba54768fa5945c122257e740f1196defe8)
-rw-r--r-- | src/mongo/db/concurrency/lock_manager.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/concurrency/lock_manager.cpp b/src/mongo/db/concurrency/lock_manager.cpp index 58321d1e50b..d5524799cfc 100644 --- a/src/mongo/db/concurrency/lock_manager.cpp +++ b/src/mongo/db/concurrency/lock_manager.cpp @@ -866,6 +866,7 @@ void LockManager::_buildBucketBSON(const LockRequest* iter, info.append("convertMode", modeName(iter->convertMode)); info.append("enqueueAtFront", iter->enqueueAtFront); info.append("compatibleFirst", iter->compatibleFirst); + info.append("debugInfo", iter->locker->getDebugInfo()); LockerId lockerId = iter->locker->getId(); std::map<LockerId, BSONObj>::const_iterator it = lockToClientMap.find(lockerId); |