Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-77870

Support mirrored reads for update statements

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Replication
    • Fully Compatible
    • Repl 2023-08-07, Repl 2023-08-21

      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.

            Assignee:
            wenbin.zhu@mongodb.com Wenbin Zhu
            Reporter:
            sean.zimmerman@mongodb.com Sean Zimmerman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: