Study on Relationship between Election and Consensus in Asynchronous Distributed Systems