Reject heartbeat reconfig when running for election

XMLWordPrintableJSON

    • Fully Compatible
    • ALL
    • v4.4
    • Repl 2020-06-01
    • 23
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, receiving a reconfig when the node is in candidate state will try to cancel the election, but due to SERVER-48256, the cancelation may not work as expected.

      As a quick fix, we can reject heartbeat reconfig instead of canceling the election. The election will finish no matter what so liveness isn't affected. In reality, the node with a higher config <term, version> will vote no to the election as well.

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

              Created:
              Updated:
              Resolved: