summaryrefslogtreecommitdiff
path: root/jstests/replsets/rollback_collMod_PowerOf2Sizes.js
diff options
context:
space:
mode:
authorCharlie Swanson <charlie.swanson@mongodb.com>2015-11-19 14:01:59 -0500
committerCharlie Swanson <charlie.swanson@mongodb.com>2015-11-19 14:19:12 -0500
commit047f82cdba8d515743fd451b773740276337d01f (patch)
tree1ff8a39b3455d762c4eecc15b428cea930220a2a /jstests/replsets/rollback_collMod_PowerOf2Sizes.js
parent078ca783b7aa817a8f1a9629f495ccb414d189f3 (diff)
downloadmongo-047f82cdba8d515743fd451b773740276337d01f.tar.gz
SERVER-21384 Enable replica set suites for in-memory storage engines
Diffstat (limited to 'jstests/replsets/rollback_collMod_PowerOf2Sizes.js')
-rw-r--r--jstests/replsets/rollback_collMod_PowerOf2Sizes.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/jstests/replsets/rollback_collMod_PowerOf2Sizes.js b/jstests/replsets/rollback_collMod_PowerOf2Sizes.js
index 376ef081823..2032f9a584b 100644
--- a/jstests/replsets/rollback_collMod_PowerOf2Sizes.js
+++ b/jstests/replsets/rollback_collMod_PowerOf2Sizes.js
@@ -1,4 +1,11 @@
// Test that a rollback of collModding usePowerOf2Sizes and validator can be rolled back.
+//
+// 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]
(function() {
"use strict";