diff options
author | Charlie Swanson <charlie.swanson@mongodb.com> | 2015-11-23 15:19:14 -0500 |
---|---|---|
committer | Charlie Swanson <charlie.swanson@mongodb.com> | 2015-11-24 13:59:39 -0500 |
commit | 9e0f3d63b1f7a23080f0465e2c59a821e1b78971 (patch) | |
tree | 1dbd2434c9a967ac870e34b22ab4ec4e1e46aa09 /jstests/noPassthrough/minvalid2.js | |
parent | eb23ba1f57b17cfbe44896a735ab74a0bdee2f55 (diff) | |
download | mongo-9e0f3d63b1f7a23080f0465e2c59a821e1b78971.tar.gz |
SERVER-21384 Enable noPassthrough suites for in-memory storage engines
Diffstat (limited to 'jstests/noPassthrough/minvalid2.js')
-rw-r--r-- | jstests/noPassthrough/minvalid2.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/jstests/noPassthrough/minvalid2.js b/jstests/noPassthrough/minvalid2.js index c6df4d001c0..d34c93120d4 100644 --- a/jstests/noPassthrough/minvalid2.js +++ b/jstests/noPassthrough/minvalid2.js @@ -9,6 +9,13 @@ * 7. writes on former slave (now primary) * 8. start up master * 9. check master does not rollback + * + * 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 + * initial 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] */ print("1. make 3-member set w/arb (2)"); |