Question 2 of 6 · Set 1 · 2 marks
Open in ChatGPTWhat is an election algorithm?
An election algorithm chooses one process from a group to act as coordinator.
- When: the current coordinator fails, or the group starts up.
- Purpose: one process grants locks, commits transactions or assigns work.
- Bully algorithm: the highest-numbered process wins; lower ones stand down.
- Ring algorithm: an election message circles the ring and the highest id is chosen.
- Requirement: every process must agree on the same winner.