From a741f91c4c09913424751730aabccd594e94ab78 Mon Sep 17 00:00:00 2001 From: auto-revert-processor Date: Thu, 18 May 2023 01:59:49 +0000 Subject: Revert "SERVER-77224 Rename lock_state.h/.cpp to locker_impl.h/.cpp to match the class name" This reverts commit de55cd2ac227dcc8cae2fd021abc291e86b2abb2. --- src/mongo/db/repl/replication_coordinator_impl.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/mongo/db/repl/replication_coordinator_impl.cpp') diff --git a/src/mongo/db/repl/replication_coordinator_impl.cpp b/src/mongo/db/repl/replication_coordinator_impl.cpp index dece58c6c7c..c402aca5bdd 100644 --- a/src/mongo/db/repl/replication_coordinator_impl.cpp +++ b/src/mongo/db/repl/replication_coordinator_impl.cpp @@ -52,7 +52,7 @@ #include "mongo/db/commands.h" #include "mongo/db/commands/feature_compatibility_version.h" #include "mongo/db/concurrency/d_concurrency.h" -#include "mongo/db/concurrency/lock_manager.h" +#include "mongo/db/concurrency/lock_state.h" #include "mongo/db/concurrency/replication_state_transition_lock_guard.h" #include "mongo/db/curop.h" #include "mongo/db/curop_failpoint_helpers.h" @@ -91,7 +91,6 @@ #include "mongo/db/serverless/serverless_operation_lock_registry.h" #include "mongo/db/session/kill_sessions_local.h" #include "mongo/db/session/session_catalog.h" -#include "mongo/db/shard_role.h" #include "mongo/db/shutdown_in_progress_quiesce_info.h" #include "mongo/db/storage/control/journal_flusher.h" #include "mongo/db/storage/storage_options.h" @@ -2633,7 +2632,7 @@ ReplicationCoordinatorImpl::AutoGetRstlForStepUpStepDown::AutoGetRstlForStepUpSt } // Dump all locks to identify which thread(s) are holding RSTL. - LockManager::get(opCtx)->dump(); + getGlobalLockManager()->dump(); auto lockerInfo = opCtx->lockState()->getLockerInfo(CurOp::get(opCtx)->getLockStatsBase()); BSONObjBuilder lockRep; -- cgit v1.2.1