13. In phase 2a, a proposer's promises report accepted values (ballot 3, 'A') and (ballot 5, 'B'). What must it propose?
- Its own new value
- 'A', because it was accepted first
- 'B', the value with the highest accepted ballot
- Nothing; it must restart phase 1
Show answer
Answer: 'B', the value with the highest accepted ballot
The rule is to adopt the value with the highest accepted ballot among the promises. This preserves any value that might already be chosen.
Lesson: Basic Paxos: Prepare, Promise, Accept
14. Which property guarantees that a later Paxos proposer discovers an already chosen value?
- Every acceptor stores every ballot ever seen
- Any two majorities of acceptors share at least one acceptor
- Ballot numbers are synchronised to wall-clock time
- Learners broadcast the chosen value to all proposers before phase 1
Show answer
Answer: Any two majorities of acceptors share at least one acceptor
Quorum intersection means the new proposer's majority includes some acceptor that accepted the chosen value, and that acceptor reports it in its promise.
Lesson: Why Paxos Is Safe, and Dueling Proposers