Have WaitForMajorityService provide a method for waiting for reads

XMLWordPrintableJSON

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

      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
            Reporter:
            Matthew Russotto
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: