[SERVER-55699] Add an explicit write concern to internal write operations Created: 01/Apr/21  Updated: 29/Oct/23  Resolved: 20/Apr/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: Huayu Ouyang
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
related to SERVER-62713 Ensure internal readers set explicit ... Backlog
is related to SERVER-44539 Re-enable "missing RWC" logging Backlog
is related to SERVER-44570 Create a non process-fatal variant of... Closed
Backwards Compatibility: Fully Compatible
Sprint: Repl 2021-04-19, Repl 2021-05-03
Participants:
Linked BF Score: 58

 Description   

Some work was done for this as part of PM-900, but we should audit all internal write operations again in case new writes were added since.

We should also add an assertion for internal write operations without an explicit write concern.



 Comments   
Comment by Githook User [ 28/Apr/21 ]

Author:

{'name': 'Huayu Ouyang', 'email': 'huayu.ouyang@mongodb.com', 'username': 'huayu-ouyang'}

Message: SERVER-55699 Revert tassert to uassert for internal commands without
explicit write concern
Branch: master
https://github.com/mongodb/mongo/commit/0b4314a71f454051694af2a1f7a3e3b60b2175ee

Comment by Githook User [ 20/Apr/21 ]

Author:

{'name': 'Huayu Ouyang', 'email': 'huayu.ouyang@mongodb.com', 'username': 'huayu-ouyang'}

Message: SERVER-55699 Add an explicit write concern to internal write operations
Branch: master
https://github.com/mongodb/mongo/commit/18e68c396861ea92dffe80bb7d3ca3efb5ece037

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