Dong Lei created CURATOR-246:
--------------------------------
Summary: Support more stable leader election on unstable ZK
connection
Key: CURATOR-246
URL: https://issues.apache.org/jira/browse/CURATOR-246
Project: Apache Curator
Issue Type: New Feature
Components: Framework, Recipes
Reporter: Dong Lei
Spark now leverage curator to help manage the connections to ZK and do leader
election.
Currently, whenever a ZK session gets disassociated, the ConnectionStateManager
will be aware and mark the state to be SUSPENDED and a new leader election will
be triggered.
Even though a ZK session is able to reconnect to another machine very soon.
I wonder if we can tolerate such unstable network trembling and do not trigger
a leader election. Because the upper layer application's (like spark) reaction
of new leader can be very costly.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)