summaryrefslogtreecommitdiff
path: root/jstests/replsets/commit_transaction_recovery.js
diff options
context:
space:
mode:
authorPavi Vetriselvan <pvselvan@umich.edu>2018-10-30 14:45:38 -0400
committerPavi Vetriselvan <pvselvan@umich.edu>2018-10-30 14:52:19 -0400
commit33ac1afd4079e04d12554f9b79d1ab07426caf59 (patch)
treee18f05ce76cec36901b76ed4cf8f6ba2ba97fb99 /jstests/replsets/commit_transaction_recovery.js
parent6d475fdb5a76acab760ce4b6709b60a4c8c9aec6 (diff)
downloadmongo-33ac1afd4079e04d12554f9b79d1ab07426caf59.tar.gz
SERVER-35811 pin stable timestamp behind oldest uncommitted timestamp
Diffstat (limited to 'jstests/replsets/commit_transaction_recovery.js')
-rw-r--r--jstests/replsets/commit_transaction_recovery.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/jstests/replsets/commit_transaction_recovery.js b/jstests/replsets/commit_transaction_recovery.js
index 1f40a13938a..00b163b8dcc 100644
--- a/jstests/replsets/commit_transaction_recovery.js
+++ b/jstests/replsets/commit_transaction_recovery.js
@@ -48,7 +48,8 @@
// Perform a clean shutdown and restart. Note that the 'disableSnapshotting' failpoint will be
// unset on the node following the restart.
- replTest.restart(primary);
+ replTest.stop(primary, undefined, {skipValidation: true});
+ replTest.start(primary, {}, true);
jsTestLog("Node was restarted");