zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paolo Viotti <paolo.vio...@eurecom.fr>
Subject Re: Imposing ZooKeeper ensemble leader.
Date Fri, 18 Apr 2014 14:43:21 GMT
I've solved this by implementing a simple leader election algorithm that 
elects as leader the quorum peer with smallest id.

Thanks anyway.
Best regards,

On 18/04/2014 13:05, Paolo Viotti wrote:
> Hello,
> I'm running some performance experiments which involve ZooKeeper.
> In order to simplify things I'd like to point all clients to the same 
> server, and, most importantly, I'd like that server to be the leader 
> of the ensemble.
> So I was wondering: is there a way to choose and impose a leader of 
> the ensemble (thus bypassing the leader election algorithm)..?
> Thanks in advance.
> Kind regards,
> Paolo

View raw message