Reputation: 55
i'm trying to learn the raft algorithm to implement it, i don't have understood when the term is incremented, apart from when a node pass from stato follower to state candidate there are others cases when the term is incremented? For instance when the leader increment the last commit index? Thanks
Upvotes: 0
Views: 309
Reputation: 391
If you're looking from a standpoint of a single peer in the Raft cluster, you will update your term if:
Generally observing the system, the term will be increased only when a new election starts.
Upvotes: 1