有主从之分
ZooKeeper 集群中必须有 master 节点,否则 ZooKeeper 无法正常工作
master:执行读写操作
slave:执行读操作
ZooKeeper 集群的投票机制,在没有 master 节点时,会重新选举