diff options
Diffstat (limited to 'src/mongo/db/s/balancer_stats_registry.cpp')
-rw-r--r-- | src/mongo/db/s/balancer_stats_registry.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mongo/db/s/balancer_stats_registry.cpp b/src/mongo/db/s/balancer_stats_registry.cpp index c2308b26d2d..bfd789acb52 100644 --- a/src/mongo/db/s/balancer_stats_registry.cpp +++ b/src/mongo/db/s/balancer_stats_registry.cpp @@ -27,7 +27,6 @@ * it in the license file. */ - #include "mongo/db/s/balancer_stats_registry.h" #include "mongo/db/dbdirectclient.h" @@ -41,7 +40,6 @@ #define MONGO_LOGV2_DEFAULT_COMPONENT ::mongo::logv2::LogComponent::kSharding - namespace mongo { namespace { @@ -73,7 +71,7 @@ ScopedRangeDeleterLock::ScopedRangeDeleterLock(OperationContext* opCtx, const UU : _configLock(opCtx, DatabaseName(boost::none, NamespaceString::kConfigDb), MODE_IX), _rangeDeletionLock(opCtx, NamespaceString::kRangeDeletionNamespace, MODE_IX), _collectionUuidLock(Lock::ResourceLock( - opCtx->lockState(), + opCtx, ResourceId(RESOURCE_MUTEX, "RangeDeleterCollLock::" + collectionUuid.toString()), MODE_X)) {} |