Skip to main content

Term

Type Alias Term 

Source
pub type Term = u64;
Expand description

A Raft term: a monotonically increasing logical clock.

Terms partition time into epochs, each beginning with an election. Every message carries the sender’s term; a node that sees a higher term steps down and adopts it. Term 0 is the initial value before any election.