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

Cancel running elections if the term changes after writing my last vote

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.4.14, 3.6.0-rc4
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • ALL
    • v3.4
    • Repl 2017-11-13
    • 15

      In the real election, the term of dry run election should be used rather than the term in topology coordinator because the latter can be updated if another node is also running election. It should be the same one we pass into _onVoteRequestComplete(). Alternatively, we can double check the term is the still same before the real election.

            Assignee:
            siyuan.zhou@mongodb.com Siyuan Zhou
            Reporter:
            siyuan.zhou@mongodb.com Siyuan Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: