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

Consider election race in restore_term.js

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.1.7
    • Replication
    • None
    • Fully Compatible
    • ALL
    • RPL 8 08/31/15
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: