[SERVER-77870] Support mirrored reads for update statements Created: 07/Jun/23  Updated: 29/Oct/23  Resolved: 11/Aug/23

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

Type: Task Priority: Major - P3
Reporter: Sean Zimmerman Assignee: Wenbin Zhu
Resolution: Fixed Votes: 0
Labels: milestone-1
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-79638 Test mirror reads with QE Closed
Assigned Teams:
Replication
Backwards Compatibility: Fully Compatible
Sprint: Repl 2023-08-07, Repl 2023-08-21
Participants:

 Description   

Currently, we only do mirrored reads for the first update statement in an update command. For parity, we will only do a mirrored read for the first update statement in a bulkWrite command. Optionally, we can also do mirrored reads for the first update statement for each namespace in a bulkWrite. That will require some work in MirrorMaestroImpl::_mirror to support multiple mirrored requests from a single command invocation. Since mirrored reads are best-effort, this is optional.



 Comments   
Comment by Githook User [ 10/Aug/23 ]

Author:

{'name': 'Wenbin Zhu', 'email': 'wenbin.zhu@mongodb.com', 'username': 'WenbinZhu'}

Message: SERVER-77870 Support mirrored reads for update ops in bulkWrite command.
Branch: master
https://github.com/mongodb/mongo/commit/95e5b9af944d585dbf4b60c30c778490901f3f6c

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