This document summarizes a new fault tolerant leader election algorithm for distributed systems. The algorithm elects a new leader randomly using a "roulette wheel selection" approach when the current leader fails. Each node generates random numbers and the first to generate three consecutive numbers above a threshold becomes a candidate. Candidates send their number to nodes, which vote for the highest number. The node with majority votes becomes coordinator and chooses the new leader randomly from all candidates' numbers. The algorithm aims to give each node equal chance while minimizing split votes between candidates. Analysis shows it chooses a new leader quickly in under 325ms in most cases.
Related topics: