zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jens Rantil <jens.ran...@tink.se>
Subject Reelection takes a long time
Date Mon, 23 Nov 2015 12:49:16 GMT

*Problem:* We are running a Zookeeper ensemble that takes a bit too long
time before a new master is elected when the old one is brought down.

*Question:* Which configuration settings do I need to change to decrease
the time before a reelection occurs? tickTime and syncLimit?

*Additionals:* The relevant (I think!) configuration we are running is:

# The number of milliseconds of each tick
# The number of ticks that the initial
# synchronization phase can take
# The number of ticks that can pass between
# sending a request and getting an acknowledgement

I have previously increases the limits somewhat to accomodate for zookeeper
nodes not being able to come up due to too large snapshot. This could
definitely be the reason why reelection takes longer time.

Any input appreciated.


Jens Rantil
Backend engineer
Tink AB

Email: jens.rantil@tink.se
Phone: +46 708 84 18 32
Web: www.tink.se

Facebook <https://www.facebook.com/#!/tink.se> Linkedin
 Twitter <https://twitter.com/tink>

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