summaryrefslogtreecommitdiff
path: root/jstests/replsets/rollback_index.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/replsets/rollback_index.js')
-rw-r--r--jstests/replsets/rollback_index.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/jstests/replsets/rollback_index.js b/jstests/replsets/rollback_index.js
index c5122a2bcbc..17a230bbd5b 100644
--- a/jstests/replsets/rollback_index.js
+++ b/jstests/replsets/rollback_index.js
@@ -1,4 +1,12 @@
// test that a rollback of an index creation op caused the index to be dropped.
+//
+// If all data-bearing nodes in a replica set are using an ephemeral storage engine, the set will
+// not be able to survive a scenario where all data-bearing nodes are down simultaneously. In such a
+// scenario, none of the members will have any data, and upon restart will each look for a member to
+// inital sync from, so no primary will be elected. This test induces such a scenario, so cannot be
+// run on ephemeral storage engines.
+// @tags: [requires_persistence]
+
load("jstests/replsets/rslib.js");
// function to check the logs for an entry