When is an entry that the leader added in its own term committed?
- When the leader thinks of it
- When one follower glimpses it
- Once a majority holds it
What does Raft use to number its elections?
- Terms
- Lottery tickets
- Port numbers
In Raft each node votes at most once per term.
Circle one: True False
The leader fails after an entry it added in its own term reached three of five nodes. What happens to it?
- It is lost with the leader
- It returns to the client unsent
- It survives on the new leader
Two candidates campaign in term 5, and any two majorities share a voter. Why can only one of them win?
- The slower candidate always gives up once the other starts
- Both need a majority, and the shared voter votes only once
- Terms forbid a second candidate from campaigning at all
In a five-node cluster, an entry sits only on the failed leader's log. What is its fate?
- It may be lost, since no majority holds it
- It always survives, because the leader wrote it first
- It commits by itself once a new leader is elected
A four-node cluster splits into two groups of two. Each group's candidate runs in term 6. Can either group elect a leader while the split lasts?
- Yes, each candidate holds a majority inside its own group
- No, a majority of four is three and each group has two
- Yes, the group whose candidate started first wins
A proposed rule lets any node win an election, even one with a stale log. Which bad history can follow?
- Two leaders win the same term and decide differently
- Votes split so often that elections never finish quickly
- A new leader that lacks entries a majority had committed