You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Daniel Peon (JIRA)" <ji...@apache.org> on 2013/11/15 11:39:20 UTC
[jira] [Created] (ZOOKEEPER-1814) Reduction of time during Leader
election
Daniel Peon created ZOOKEEPER-1814:
--------------------------------------
Summary: Reduction of time during Leader election
Key: ZOOKEEPER-1814
URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1814
Project: ZooKeeper
Issue Type: Bug
Components: leaderElection
Affects Versions: 3.4.5, 3.5.0
Reporter: Daniel Peon
Fix For: 3.4.6, 3.5.0
FastLeader election takes long time because of the exponential backoff. Currently the time is 60 seconds.
It would be interesting to give the possibility to configure this parameter, like for example for a Server shutdown.
Otherwise, it sometimes takes so long and it has been detected a test failure when executing: org.apache.zookeeper.server.quorum.QuorumPeerMainTest.
This test case waits until 30 seconds and this is smaller than the 60 seconds where the leader election can be waiting for at the moment of shutting down.
Considering the failure during the test case, this issue was considered a possible bug.
--
This message was sent by Atlassian JIRA
(v6.1#6144)