[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: |
|
||||||||
| 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: |