Followers that stop hearing heartbeats time out at random moments, so usually one candidate starts first and wins.
Leader election
Choosing one node to coordinate for a period; in Raft a candidate needs votes from a majority in a new term.
Followers that stop hearing heartbeats time out at random moments, so usually one candidate starts first and wins.