[SERVER-83407] Test that mongos correctly "upgrades" w:0 write concern to w:1 Created: 17/Nov/23  Updated: 18/Nov/23  Resolved: 17/Nov/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Kaitlin Mahar Assignee: Backlog - Replication Team
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-83406 Test that mongos correctly "upgrades"... Closed
Assigned Teams:
Replication
Participants:

 Description   

We talked about doing this in SERVER-72119 / SERVER-76954 but I don't believe we ended up adding a test.
This is likely unit testable if we pull out the logic to construct child batch commands into a separate helper function: https://github.com/mongodb/mongo/blob/c5da83c8e39b8211826bc29f262b7af903d93e6e/src/mongo/s/write_ops/bulk_write_exec.cpp#L121-L158



 Comments   
Comment by Kaitlin Mahar [ 17/Nov/23 ]

jira bugged out and created the ticket twice

Generated at Thu Feb 08 06:52:06 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.