summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/dist_lock_catalog.h
diff options
context:
space:
mode:
authorKaloian Manassiev <kaloian.manassiev@mongodb.com>2021-01-20 04:15:38 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-01-21 20:28:39 +0000
commit3d3df4681368ceccf891219ce848fe41d2903832 (patch)
treed6189e324eea6ffb3c22a647aa13ab26048fc38e /src/mongo/db/s/dist_lock_catalog.h
parent00541b6748557a15cd0487f9accadb1064661115 (diff)
downloadmongo-3d3df4681368ceccf891219ce848fe41d2903832.tar.gz
SERVER-53118 Make the DistLockManager use the same processId/lockSessionId per shard
Diffstat (limited to 'src/mongo/db/s/dist_lock_catalog.h')
-rw-r--r--src/mongo/db/s/dist_lock_catalog.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mongo/db/s/dist_lock_catalog.h b/src/mongo/db/s/dist_lock_catalog.h
index 7f774915b66..8c6810ba957 100644
--- a/src/mongo/db/s/dist_lock_catalog.h
+++ b/src/mongo/db/s/dist_lock_catalog.h
@@ -133,14 +133,6 @@ public:
StringData why) = 0;
/**
- * Attempts to set the state of the lock document with lockSessionID to unlocked. Returns OK,
- * if at the end of this call it is determined that the lock is definitely not owned by the
- * specified session (i.e., it is not owned at all or if it is owned by a different session).
- * Otherwise, it returns an error status. Common errors include socket errors.
- */
- virtual Status unlock(OperationContext* opCtx, const OID& lockSessionID) = 0;
-
- /**
* Same as unlock() above except that it unlocks the lock document that matches "lockSessionID"
* AND "name", rather than just "lockSessionID". This is necessary if multiple documents have
* been locked with the same lockSessionID.