zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mingtao Zhang <mail2ming...@gmail.com>
Subject Re: Strange behaviour in Leader election
Date Mon, 27 Oct 2014 23:52:39 GMT
Ibrahim,

Do you have a link/the outline of the election algorithm you are using?

Mingtao

Best Regards,
Mingtao

On Mon, Oct 27, 2014 at 4:04 PM, Ibrahim <i.s.el-sanosi@newcastle.ac.uk>
wrote:

> Strange behaviour in Leader election
>
> I have 5 ZooKeeper servers. When I start running the Zookeeper, there is
> always one particular machine elected as leader and the other is follower.
> For example, assume we have machine 1,2,3,4, and 5. When I start the
> Zookeeper, it always elects machine number 3 as leader. Note that before I
> start Zookeeper I delete all DataDir and log  files (information history).
>
> I expect each new run I see different machine elect as leader. But this
> does
> not happen.
> Question:
> What criteria does election algorithm use to elect a machine to become a
> leader?
>
> Thank you
>
> Ibrahim
>
>
>
>
> --
> View this message in context:
> http://zookeeper-user.578899.n2.nabble.com/Strange-behaviour-in-Leader-election-tp7580475.html
> Sent from the zookeeper-user mailing list archive at Nabble.com.
>

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