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
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 mailing list archive at Nabble.com.
> > > >
> > >
> >
>
gt; > > 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.
> > >
> > >
> > >
> > >
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/Hel
re 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-solr
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