Thanks svante for clearing the doubt.
With Regards
Aman Tandon
On Thu, Mar 5, 2015 at 2:15 PM, svante karlsson wrote:
> The network will "only" split if you get errors on your network hardware.
> (or fiddle with iptables) Let's say you placed your zookeepers in separate
> racks and someone pull
The network will "only" split if you get errors on your network hardware.
(or fiddle with iptables) Let's say you placed your zookeepers in separate
racks and someone pulls network cable between them - that will leave you
with 5 working servers but they can't reach each other. This is "split
brain
I start out with 5 zk's. All good.
One zk fails - I'm left with four. Are they guaranteed
to split 4/0 or 3/1 - because if they split 2/2 I'm screwed,
right?
Surely to start with 5 zk's (or in fact any odd number - it
could be 21 even), and from a single failure you drop to an
even number - t
Yes, as long as it is three (the majority of 5) or more.
This is why there is no point of having a 4 node cluster. This would also
require 3 nodes for majority thus giving it the fault tolerance of a 3 node
cluster but slower and more expensive.
2015-03-05 7:41 GMT+01:00 Aman Tandon :
> Thanks
Thanks svante.
What if in the cluster of 5 zookeeper only 1 zookeeper goes down, will
zookeeper election can occur with 4 / even number of zookeepers alive?
With Regards
Aman Tandon
On Tue, Mar 3, 2015 at 6:35 PM, svante karlsson wrote:
> synchronous update of state and a requirement of more t
synchronous update of state and a requirement of more than half the
zookeepers alive (and in sync) this makes it impossible to have a "split
brain" situation ie when you partition a network and get let's say 3 alive
on one side and 2 on the other.
In this case the 2 node networks stops serving req
But how they handle the failure?
With Regards
Aman Tandon
On Tue, Mar 3, 2015 at 5:17 PM, O. Klein wrote:
> Zookeeper requires a majority of servers to be available. For example: Five
> machines ZooKeeper can handle the failure of two machines. That's why odd
> numbers are recommended.
>
>
>
>
Zookeeper requires a majority of servers to be available. For example: Five
machines ZooKeeper can handle the failure of two machines. That's why odd
numbers are recommended.
--
View this message in context:
http://lucene.472066.n3.nabble.com/Help-needed-to-understand-zookeeper-in-solrcloud-tp4