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

Have WaitForMajorityService provide a method for waiting for reads

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Repl 2023-03-06, Repl 2023-03-20

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: