zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Flavio P JUNQUEIRA <...@apache.org>
Subject Re: how to make a server be leader permanently
Date Mon, 02 May 2016 11:19:27 GMT
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?

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