[SERVER-83193] Remove write concern from the batched request Created: 13/Nov/23 Updated: 06/Feb/24 |
|
| Status: | Open |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Moustafa Maher | Assignee: | Paolo Polato |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | car-reorg, replication | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Assigned Teams: |
Catalog and Routing
|
||||||||
| Sprint: | CAR Team 2024-02-05, CAR Team 2024-02-19 | ||||||||
| Participants: | |||||||||
| Story Points: | 2 | ||||||||
| Description |
|
BatchedCommandRequest is the legacy (pre-IDL) way that write commands were parsed by MongoS and constructed to be sent to MongoD. At that time there wasn't write concern on the OpContext (there wasn't generic parsing of WC on the MongoS to be more specific) so each request had to parse and store it. Now Mongos should have the client supplied write concern in the _opCtx at the setup step which parse the request and set the correct wc. |