Difference between ensemble and quorum in zookeeper

后端 未结 4 1717
花落未央
花落未央 2021-02-01 09:24

I am new to zookeeper. I have configured it on a single machine. But I came across the words \"ensemble\" and \"quorum\" in the documentation of zookeeper.

Can anyone pl

4条回答
  •  我在风中等你
    2021-02-01 09:35

    ensemble: Numbers of nodes in the group. Quorum: Number of required nodes to take the action. Example: you have 5 nodes. ensemble is 5. But according to majority rule Quorum should be 3. If we write no 3 nodes successfully, then we send success response to the client. Apache Zookeeper Quorum

提交回复
热议问题