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

Consider election race in restore_term.js

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.7
    • Component/s: Replication
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      RPL 8 08/31/15
    • Linked BF Score:
      0

      Description

      restore_term.js assumes the first election will win with term 1, which may not be the case if election race happens. It happens more frequently without timer based election and random timeout, but it is still possible in the new election protocol.

        Attachments

          Activity

            People

            Assignee:
            siyuan.zhou Siyuan Zhou
            Reporter:
            siyuan.zhou Siyuan Zhou
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: