summaryrefslogtreecommitdiff
path: root/src/mongo/db/concurrency/locker.h
diff options
context:
space:
mode:
authorRandolph Tan <randolph@10gen.com>2017-10-17 16:57:40 -0400
committerRandolph Tan <randolph@10gen.com>2017-11-02 15:20:25 -0400
commitcea82bc2f6e30169421b7896d23b951baa3b96ed (patch)
treefd0c512a17c84a0e876d5d8d628da6fd71faa112 /src/mongo/db/concurrency/locker.h
parent51ebfe7bb870a1665653ad8088b121706ce3d5b5 (diff)
downloadmongo-cea82bc2f6e30169421b7896d23b951baa3b96ed.tar.gz
SERVER-31446 _getNextSessionMods can get stuck in a write conflict retry loop
Diffstat (limited to 'src/mongo/db/concurrency/locker.h')
-rw-r--r--src/mongo/db/concurrency/locker.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/concurrency/locker.h b/src/mongo/db/concurrency/locker.h
index b973da6d66b..90ac466ba94 100644
--- a/src/mongo/db/concurrency/locker.h
+++ b/src/mongo/db/concurrency/locker.h
@@ -307,6 +307,7 @@ public:
virtual bool isLocked() const = 0;
virtual bool isWriteLocked() const = 0;
virtual bool isReadLocked() const = 0;
+ virtual bool isGlobalLockedRecursively() = 0;
/**
* Pending means we are currently trying to get a lock (could be the parallel batch writer