summaryrefslogtreecommitdiff
path: root/jstests/replsets/apply_batch_only_goes_forward.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/replsets/apply_batch_only_goes_forward.js')
-rw-r--r--jstests/replsets/apply_batch_only_goes_forward.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/jstests/replsets/apply_batch_only_goes_forward.js b/jstests/replsets/apply_batch_only_goes_forward.js
index e1742b25d51..7786be9cc4f 100644
--- a/jstests/replsets/apply_batch_only_goes_forward.js
+++ b/jstests/replsets/apply_batch_only_goes_forward.js
@@ -8,6 +8,11 @@
* -- Ensure restarted primary (node0) comes up in recovering
* -- Ensure node0 replicates a batch, and keeps the old minvalid
* -- Success!
+ *
+ * This test requires persistence to test that a restarted primary will stay in the RECOVERING state
+ * when minvalid is set to the future. An ephemeral storage engine will not have a minvalid after
+ * restarting, so will initial sync in this scenario, invalidating the test.
+ * @tags: [requires_persistence]
*/
(function() {
"use strict";
@@ -74,4 +79,4 @@
// Shut down the set and finish the test.
replTest.stopSet();
-})(); \ No newline at end of file
+})();