zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Shraer <shra...@gmail.com>
Subject Re: how to make a server be leader permanently
Date Mon, 02 May 2016 22:00:58 GMT
If you're interested to work on something like that, a good starting point
could be
implementing a leader handoff API: ZOOKEEPER-2076

On Mon, May 2, 2016 at 4:19 AM, Flavio P JUNQUEIRA <fpj@apache.org> wrote:

> We don't have this kind of behavior enabled because it'd affect
> availability. If your single leader fails, then the zookeeper ensemble
> becomes unavailable until the server comes back and might require manual
> intervention if the server is permanently down.
> Also, upon recovery, the configured leader might not have the most recent
> committed state,  which could cause you to lose data.
> The bottom line is that you can't really force this kind of behavior
> currently with zookeeper.
> -Flavio
> On 2 May 2016 11:53, "WangYQ" <wangyongqiang0617@163.com> wrote:
> i want to make a server with lower load be the zookeeper leader
> permanently. is there any method or configuration?

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