-
Type: Task
-
Resolution: Done
-
Priority: 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.
- is related to
-
SERVER-19738 Restore current term at startup
- Closed