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

Fix doReplSetReconfig to always return a status on error

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Replication
    • None
    • ALL
    • Repl 2020-03-23

    Description

      The contract for doReplSetReconfig (as observed by all callers) is that it should always return a bad status on error and never throw (no callers catch exceptions). There is an exception to this when waiting for the config to be replicated to a majority (here) - that should be changed to a status return.

      Attachments

        Activity

          People

            william.schultz@mongodb.com William Schultz (Inactive)
            vesselina.ratcheva@mongodb.com Vesselina Ratcheva (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: