summaryrefslogtreecommitdiff
path: root/jstests/replsets/libs
diff options
context:
space:
mode:
authorSamy Lanka <samy.lanka@mongodb.com>2021-05-18 05:52:03 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-05-18 12:19:20 +0000
commit6d9cb8ed5b4a8bcd031df93cf9321c69e6d96b32 (patch)
tree846c09db64e04bfaab54c39a041b43fe00aa987b /jstests/replsets/libs
parent3ce2c1f02f4961c024ec52f1a9f27fd6263a5aac (diff)
downloadmongo-6d9cb8ed5b4a8bcd031df93cf9321c69e6d96b32.tar.gz
Revert "SERVER-55690 Check default write concern during replica set reconfig if CWWC is not set"
This reverts commit 9ebb4355dcfb7e0adf9793d9445d71e89fc24784.
Diffstat (limited to 'jstests/replsets/libs')
-rw-r--r--jstests/replsets/libs/rename_across_dbs.js9
1 files changed, 0 insertions, 9 deletions
diff --git a/jstests/replsets/libs/rename_across_dbs.js b/jstests/replsets/libs/rename_across_dbs.js
index 59b0fba4e14..a602b51326f 100644
--- a/jstests/replsets/libs/rename_across_dbs.js
+++ b/jstests/replsets/libs/rename_across_dbs.js
@@ -48,15 +48,6 @@ var RenameAcrossDatabasesTest = function(options) {
replTest.startSet();
replTest.initiate();
- // This test performs a reconfig that will change the implicit default write concern
- // from {w: "majority"} to {w: 1}. In order for this reconfig to succeed, we must first
- // set the cluster-wide write concern.
- assert.commandWorked(replTest.getPrimary().adminCommand({
- setDefaultRWConcern: 1,
- defaultWriteConcern: {w: "majority"},
- writeConcern: {w: "majority"}
- }));
-
// If provided in 'options', we set the featureCompatibilityVersion. We do this prior to
// adding any other members to the replica set.
if (options.setFeatureCompatibilityVersion) {