kpbochenek
kpbochenek

Reputation: 469

How etcd cluster handles node failure and how many can fail?

I have 7 nodes running etcd cluster.

4 of them fails.

Will etcd stop working when majority of nodes is down?

Upvotes: 1

Views: 2014

Answers (1)

Haizi
Haizi

Reputation: 708

If 4 out of 7 nodes in an etcd cluster fail, the cluster will stop working due to majority loss. Please refer to the following explanation about fault tolerance: (source: https://coreos.com/etcd/docs/latest/admin_guide.html)

Fault Tolerance Table

It is recommended to have an odd number of members in a cluster. Having an odd cluster size doesn't change the number needed for majority, but you gain a higher tolerance for failure by adding the extra member. You can see this in practice when comparing even and odd sized clusters:

Upvotes: 2

Related Questions