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

Store the current term in persistent storage

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Replication
    • None
    • RPL 7 08/10/15

    Description

      New election protocol requires storing the current term (latest term server has seen) and the voted candidate id when updating the term. We'll use candidate index to avoid negative _id. Thus, candidate index == -1 means we haven't voted for the current term.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: