summaryrefslogtreecommitdiff
path: root/jstests/replsets/last_op_visible.js
diff options
context:
space:
mode:
authorWilliam Schultz <william.schultz@mongodb.com>2016-11-21 15:02:26 -0500
committerWilliam Schultz <william.schultz@mongodb.com>2016-12-01 12:53:47 -0500
commit58921178cd9b8d69509770ded5f224d5b87c5a91 (patch)
treedda51ee7a257eafeed7c6b9a74721ca5d4ec4b2a /jstests/replsets/last_op_visible.js
parent3995266ca0555040023fdc003e4334cbff856598 (diff)
downloadmongo-58921178cd9b8d69509770ded5f224d5b87c5a91.tar.gz
SERVER-27117 Set writeConcernMajorityJournalDefault to false for non journal variants
Diffstat (limited to 'jstests/replsets/last_op_visible.js')
-rw-r--r--jstests/replsets/last_op_visible.js9
1 files changed, 0 insertions, 9 deletions
diff --git a/jstests/replsets/last_op_visible.js b/jstests/replsets/last_op_visible.js
index cf9117cde72..32df53c93d5 100644
--- a/jstests/replsets/last_op_visible.js
+++ b/jstests/replsets/last_op_visible.js
@@ -4,8 +4,6 @@
// We then confirm that a writeConcern majority write will be seen as the lastVisibleOp by a
// majority read.
-load("jstests/replsets/rslib.js"); // For updateConfigIfNotDurable.
-
(function() {
"use strict";
@@ -29,13 +27,6 @@ load("jstests/replsets/rslib.js"); // For updateConfigIfNotDurable.
var primary = replTest.getPrimary();
- // Update the replset config if not durable.
- var config = replTest.getReplSetConfigFromNode();
- updateConfigIfNotDurable(config);
- config.version++;
- assert.commandWorked(primary.getDB("admin").adminCommand({replSetReconfig: config}));
- primary = replTest.getPrimary();
-
// Do an insert without writeConcern.
var res = primary.getDB(name).runCommandWithMetadata(
"insert", {insert: name, documents: [{x: 1}]}, {"$replData": 1});