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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4.14, 3.6.0-rc4
    • Component/s: Replication
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v3.4
    • Sprint:
      Repl 2017-11-13
    • Linked BF Score:
      14

      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

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: