What is the main role of leader in the server role of zookeeper?

Alibaba cloud Q & A 2022-02-13 06:01:19 阅读数:142

main role leader server role

ZooKeeper In the server role of ,Leader What's the main function ?

Take the answer 1:

(1) The only scheduler and processor of a transaction request , Ensure the sequence of cluster transactions

(2) The dispatcher of each service within the cluster

copyright:author[Alibaba cloud Q & A],Please bring the original link to reprint, thank you. https://en.javamana.com/2022/02/202202130601177486.html