Make the failover in drain.js more reliable

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 3.2.13, 3.4.3, 3.5.3
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • ALL
    • v3.4, v3.2
    • Repl 2017-02-13
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      SERVER-27125 makes the election of secondary fail in drain.js, because the arbiter thought the old primary was still alive even though it had been shut down. It takes several heartbeat intervals for the arbiter to refresh its knowledge of the old primary.

      Slow shutdown of the old primary also makes the failover fail.

            Assignee:
            Siyuan Zhou
            Reporter:
            Siyuan Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: