summaryrefslogtreecommitdiff
path: root/buildscripts/gdb/mongo.py
diff options
context:
space:
mode:
authorauto-revert-processor <dev-prod-dag@mongodb.com>2023-05-18 01:59:49 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-05-18 02:54:21 +0000
commita741f91c4c09913424751730aabccd594e94ab78 (patch)
tree93a23e52e3a8d077bea2f722912a88a6e270a8dc /buildscripts/gdb/mongo.py
parentd7bf13d97da047abfe9098a6b5f98678e89cd987 (diff)
downloadmongo-master.tar.gz
Revert "SERVER-77224 Rename lock_state.h/.cpp to locker_impl.h/.cpp to match the class name"HEADmaster
This reverts commit de55cd2ac227dcc8cae2fd021abc291e86b2abb2.
Diffstat (limited to 'buildscripts/gdb/mongo.py')
-rw-r--r--buildscripts/gdb/mongo.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/buildscripts/gdb/mongo.py b/buildscripts/gdb/mongo.py
index 8f20f1caa85..c7ea555513e 100644
--- a/buildscripts/gdb/mongo.py
+++ b/buildscripts/gdb/mongo.py
@@ -584,6 +584,8 @@ class MongoDBDumpLocks(gdb.Command):
try:
# Call into mongod, and dump the state of lock manager
# Note that output will go to mongod's standard output, not the debugger output window
+ # Do not call mongo::getGlobalLockManager() due to the compiler optimizing this function in a very weird way
+ # See SERVER-72816 for more context
gdb.execute(
"call mongo::LockManager::get((mongo::ServiceContext*) mongo::getGlobalServiceContext())->dump()",
from_tty=False, to_string=False)