summaryrefslogtreecommitdiff
path: root/src/mongo/db/concurrency/lock_manager_defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/concurrency/lock_manager_defs.h')
-rw-r--r--src/mongo/db/concurrency/lock_manager_defs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/concurrency/lock_manager_defs.h b/src/mongo/db/concurrency/lock_manager_defs.h
index 23376734fe2..b0598c6da0d 100644
--- a/src/mongo/db/concurrency/lock_manager_defs.h
+++ b/src/mongo/db/concurrency/lock_manager_defs.h
@@ -239,7 +239,7 @@ class ResourceId {
public:
ResourceId() : _fullHash(0) {}
ResourceId(ResourceType type, const NamespaceString& nss)
- : _fullHash(fullHash(type, hashStringData(nss.toStringWithTenantId()))) {
+ : _fullHash(fullHash(type, hashStringData(nss.toStringForResourceId()))) {
verifyNoResourceMutex(type);
}
ResourceId(ResourceType type, const DatabaseName& dbName)