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

Should not report isMaster while stepping down conditionally

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.9
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • ALL
    • Repl 2019-02-25
    • 19

      We currently report isMaster: false while in the process of stepping down unconditionally (but not while stepping down conditionally). We should report isMaster: false whenever we are stepping down. We cannot accept writes while the stepdown is in process. If the stepdown ultimately fails, we can just report isMaster: true again.

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

              Created:
              Updated:
              Resolved: