How to make sense of Phase 2 in Paxos distributed consensus algorithm?
问题 I have pasted pseudocode for a paxos algorithm here: What is a "view" in the Paxos consensus algorithm? and was wondering if someone could point me in the right direction. The algorithm says that each node has a "state" which contains a bunch of information the node should keep track of. Suppose we have two nodes: Node #1 and Node #2. In the simplest case Node #2 joins Node #1 and they both play paxos. What exactly happens to the states of Node #1 and Node #2 after 2 joins 1? When does the