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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.4.14, 3.6.0-rc4
    • Replication
    • None
    • Fully Compatible
    • ALL
    • v3.4
    • Repl 2017-11-13
    • 15

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: