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,
P


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


Reply via email to