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

Reject heartbeat reconfig when running for election

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

      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@mongodb.com Siyuan Zhou
            Reporter:
            siyuan.zhou@mongodb.com Siyuan Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: