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

Have WaitForMajorityService provide a method for waiting for reads

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • Repl 2023-03-06, Repl 2023-03-20

      The current WaitForMajorityService is waiting for a majority write concern, not a majority read concern. This only works on primaries and returns an error on step down. For some tasks we actually want to wait on read concern instead, and it make sense for these to be provided by the same service.

            Assignee:
            matthew.russotto@mongodb.com Matthew Russotto
            Reporter:
            matthew.russotto@mongodb.com Matthew Russotto
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: