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

Store the current term in persistent storage

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Replication
    • Labels:
      None
    • RPL 7 08/10/15

      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.

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

              Created:
              Updated:
              Resolved: