summaryrefslogtreecommitdiff
path: root/jstests/replsets
diff options
context:
space:
mode:
authorDianna Hohensee <dianna.hohensee@mongodb.com>2022-09-02 03:32:06 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-09-02 04:47:05 +0000
commit97cdfef9e4f74918176f1916bc53ada8f9f66868 (patch)
tree641eb38b0c182d564474a80c0cb9eac0e7b47e69 /jstests/replsets
parent8de369efe3fb47e15000f6a8af722b53911392e6 (diff)
downloadmongo-97cdfef9e4f74918176f1916bc53ada8f9f66868.tar.gz
SERVER-69059 Create an InterruptibleLockGuard to place in ClientCursorPin to ensure read operations are interruptible
Diffstat (limited to 'jstests/replsets')
-rw-r--r--jstests/replsets/initial_sync_during_stepdown.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/replsets/initial_sync_during_stepdown.js b/jstests/replsets/initial_sync_during_stepdown.js
index 342d57d141d..fc3c00564e7 100644
--- a/jstests/replsets/initial_sync_during_stepdown.js
+++ b/jstests/replsets/initial_sync_during_stepdown.js
@@ -48,7 +48,7 @@ function setupTest({
jsTestLog("Enabling failpoint '" + failPoint + "' on primary (sync source).");
assert.commandWorked(primary.adminCommand({
configureFailPoint: failPoint,
- data: {nss: nss + nssSuffix, shouldCheckForInterrupt: true, shouldNotdropLock: true},
+ data: {nss: nss + nssSuffix, shouldCheckForInterrupt: true},
mode: "alwaysOn"
}));
@@ -164,7 +164,7 @@ assert.commandWorked(primaryColl.insert([{_id: 3}, {_id: 4}]));
// such that it doesn't drop locks when getmore cmd waits inside the fail point block.
assert.commandWorked(primary.adminCommand({
configureFailPoint: "waitWithPinnedCursorDuringGetMoreBatch",
- data: {nss: oplogNss, shouldCheckForInterrupt: true, shouldNotdropLock: true},
+ data: {nss: oplogNss, shouldCheckForInterrupt: true},
mode: "alwaysOn"
}));