[SERVER-55703] Update getDefaultRWConcern Created: 01/Apr/21  Updated: 29/Oct/23  Resolved: 07/May/21

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 5.0.0-rc0

Type: Task Priority: Major - P3
Reporter: Samyukta Lanka Assignee: Moustafa Maher
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-55702 Update 'defaultRWConcern' section of ... Closed
Duplicate
is duplicated by SERVER-55695 Config server should send implicit de... Closed
is duplicated by SERVER-55696 Start using implicit default write co... Closed
Problem/Incident
Related
related to SERVER-56962 Temporarily disable mode_merge_insert... Closed
Backwards Compatibility: Minor Change
Sprint: Repl 2021-04-19, Repl 2021-05-03, Repl 2021-05-17
Participants:
Linked BF Score: 156

 Description   

This will involve changing getDefault to return the implicit default if there is no CWWC. This should be FCV gated so that clusters do not report the implicit default before the FCV has been set to 5.0.

This will cause us to start using the implicit default as the acting default write concern if there is no CWWC. As a result, we might need to first explicitly set the write concern for various writes in jstests that don't expect the default write concern to be {w: majority}.



 Comments   
Comment by Githook User [ 07/May/21 ]

Author:

{'name': 'Moustafa Maher', 'email': 'm.maher@10gen.com', 'username': 'moustafamaher'}

Message: SERVER-55703 Update getDefaultRWConcern to return the implicit default if there is no CWWC
Branch: master
https://github.com/mongodb/mongo/commit/1cc903338ac28154fb6aaea1b2e6f00760e8682d

Comment by Githook User [ 04/May/21 ]

Author:

{'name': 'Moustafa Maher', 'email': 'm.maher@10gen.com', 'username': 'moustafamaher'}

Message: SERVER-55703 Fix tests to update getDefaultRWConcern to return the implicit default
Branch: master
https://github.com/mongodb/mongo/commit/242d8aa4093c278d40054dc7a65dc354ab744bb9

Comment by Githook User [ 04/May/21 ]

Author:

{'name': 'Moustafa Maher', 'email': 'm.maher@10gen.com', 'username': 'moustafamaher'}

Message: SERVER-55703 Fix tests to update getDefaultRWConcern to return the implicit default
Branch: master
https://github.com/mongodb/mongo/commit/0d27344b5aa86328ab437638e75175c5d7fa5739

Comment by Githook User [ 29/Apr/21 ]

Author:

{'name': 'moustafamaher', 'email': 'm.maher@mongodb.com', 'username': 'moustafamaher'}

Message: SERVER-55703 Update getDefaultRWConcern
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/e69c71c34a255cb2f9d38da4aeb520cdd704259d

Comment by Githook User [ 29/Apr/21 ]

Author:

{'name': 'Moustafa Maher', 'email': 'm.maher@10gen.com', 'username': 'moustafamaher'}

Message: SERVER-55703 Update getDefaultRWConcern
Branch: master
https://github.com/mongodb/mongo/commit/0d97b041970929e7e56caa42ee8837cec92d2264

Generated at Thu Feb 08 05:37:13 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.