zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raj N <raj.cassan...@gmail.com>
Subject Re: Zookeeper Leader Election Preference
Date Tue, 03 Jul 2012 19:48:58 GMT
The problem is for some reason which I don't have control on, we only have
2 nodes in the primary DC.

-Raj

On Tue, Jul 3, 2012 at 3:27 PM, John Sirois <john.sirois@gmail.com> wrote:

> On Tue, Jul 3, 2012 at 1:16 PM, Raj N <raj.cassandra@gmail.com> wrote:
>
> > Hi experts,
> >      I am trying to setup a Zookeeper ensemble of 3 nodes across 2 DCs. 2
> > of the 3 will run in the primary. And 1 will run in the secondary DC. Is
> > there a way to hint that the leader should be selected from the 2 nodes
> in
> > the primary DC. I am trying to avoid the case where the node in the
> > secondary DC is the leader since that means I will have to pay for the
> WAN
> > latency for every write request.
> >
>
> Whats the purpose of the node in the secondary dc?  I can't see a case
> where having the full quorum in the primary dc (3 nodes) and an observer in
> the secondary dc is not preferrable.
>
>
> >
> > Thanks
> > -Raj
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message