[SERVER-30900] remove collMod writeConcern argument from ReplSetTest.checkReplicaSet() Created: 30/Aug/17  Updated: 30/Oct/23  Resolved: 30/Aug/17

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 3.4.15, 3.5.13

Type: Bug Priority: Major - P3
Reporter: Benety Goh Assignee: Benety Goh
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
is depended on by SERVER-30371 Separate renameCollection across DB c... Closed
Duplicate
is duplicated by SERVER-33498 ReplSetTest.checkReplicaSet fails whe... Closed
Related
is related to SERVER-24506 Support views in cloner & DataReplica... Closed
is related to SERVER-25496 the validate hook will not work with ... Closed
is related to SERVER-28989 Avoid dropping dummy database in Repl... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v3.4
Sprint: Repl 2017-09-11
Participants:

 Description   

When waiting for background index builds to complete, ReplSetTest.checkReplicaSet() passes a

{w: all}

writeConcern with every collMod command invocation. This may not be necessary given that the function eventually calls ReplSetTest.awaitReplication() here:

https://github.com/mongodb/mongo/blob/1dc2afc8b5ce09d88535049df2ad72adc0434cc8/src/mongo/shell/replsettest.js#L1177



 Comments   
Comment by Githook User [ 25/Mar/18 ]

Author:

{'email': 'max.hirschhorn@mongodb.com', 'name': 'Max Hirschhorn', 'username': 'visemet'}

Message: SERVER-28989 Avoid dropping dummy database in checkReplicaSet().

(cherry picked from commit 5c702fedb3216b1a327d3791cd9e995fefc4ab2f)

SERVER-30900 removed unnecessary writeConcern from collMod command in
ReplSetTest.checkReplicaSet()

(cherry picked from commit ac84a0d028eff2b8ca42817d998cb8b34563816c)
Branch: v3.4
https://github.com/mongodb/mongo/commit/b910f64caeac3761445eed604fceaf0698e02447

Comment by Githook User [ 30/Aug/17 ]

Author:

{'username': 'benety', 'email': 'benety@mongodb.com', 'name': 'Benety Goh'}

Message: SERVER-30900 removed unnecessary writeConcern from collMod command in ReplSetTest.checkReplicaSet()
Branch: master
https://github.com/mongodb/mongo/commit/ac84a0d028eff2b8ca42817d998cb8b34563816c

Comment by Benety Goh [ 30/Aug/17 ]

The collMod call was introduced in SERVER-28989

Generated at Thu Feb 08 04:25:23 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.