zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Sirois <john.sir...@gmail.com>
Subject Re: Zookeeper Leader Election Preference
Date Tue, 03 Jul 2012 19:27:27 GMT
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

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