Chandra–Toueg consensus algorithm: Difference between revisions

Content deleted Content added
No edit summary
Clarifying algorithm's last step. Processes relay the coordinator's original decide message. They don't simply send their own decide message to other processes
Line 13:
# The coordinator waits to receive ack(r) or nack(r) from a majority of processes.
## If it receives ack(r) from a majority, it sends decide(preference) to all processes.
# Any process that receives decide(preference) for the first time sendsrelays decide(preference) to all processes, then decides preference and terminates.
 
Note that this algorithm is used to decide only on one value.