Thanks svante for clearing the doubt.
With Regards
Aman Tandon
On Thu, Mar 5, 2015 at 2:15 PM, svante karlsson s...@csi.se 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
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 -
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
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-tp4190631p4190633.html
Sent from the Solr - User mailing list archive
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
. 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-tp4190631p4190633.html
Sent from the Solr - User
Hi,
I read in various blogs that we should use the odd number of zookeeper in
the ensemble, So why is it so?
With Regards
Aman Tandon
are recommended.
--
View this message in context:
http://lucene.472066.n3.nabble.com/Help-needed-to-understand-zookeeper-in-solrcloud-tp4190631p4190633.html
Sent from the Solr - User mailing list archive at Nabble.com.
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