Content deleted Content added
No edit summary |
Typo fixed |
||
Line 38:
# P broadcasts an election message (inquiry) to all other processes with higher process IDs, expecting an "I am alive" response from them if they are alive.
# If P hears from no process with a higher process ID, than
# If P hears from a process with a higher ID, P waits a certain amount of time for any process with a higher ID to broadcast itself as the leader. If it does not receive this message in time, it re-broadcasts the election message.
# If P gets an election message (inquiry) from another process with a lower ID it sends an "I am alive" message back and starts new elections.
|