Should not report isMaster while stepping down conditionally

XMLWordPrintableJSON

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

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

              Created:
              Updated:
              Resolved: