diff options
Diffstat (limited to 'jstests/replsets/rollback_collMod_fatal.js')
-rw-r--r-- | jstests/replsets/rollback_collMod_fatal.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/jstests/replsets/rollback_collMod_fatal.js b/jstests/replsets/rollback_collMod_fatal.js index a5c16a14d47..62cb22ac20a 100644 --- a/jstests/replsets/rollback_collMod_fatal.js +++ b/jstests/replsets/rollback_collMod_fatal.js @@ -1,4 +1,11 @@ // test that a rollback of collMod altering TTL will cause the node to go into a FATAL state +// +// 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] // set up a set and grab things for later var name = "rollback_collMod_fatal"; |