From cea82bc2f6e30169421b7896d23b951baa3b96ed Mon Sep 17 00:00:00 2001 From: Randolph Tan Date: Tue, 17 Oct 2017 16:57:40 -0400 Subject: SERVER-31446 _getNextSessionMods can get stuck in a write conflict retry loop --- src/mongo/db/concurrency/locker.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mongo/db/concurrency/locker.h') 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 -- cgit v1.2.1