[
https://issues.apache.org/jira/browse/FLINK-6342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Till Rohrmann closed FLINK-6342.
--------------------------------
Resolution: Invalid
This only applies to changes I've made in a local branch. Will fix it in the
branch.
> Start ZooKeeperLeaderElectionService under lock to avoid race condition
> -----------------------------------------------------------------------
>
> Key: FLINK-6342
> URL: https://issues.apache.org/jira/browse/FLINK-6342
> Project: Flink
> Issue Type: Bug
> Components: Distributed Coordination
> Affects Versions: 1.3.0
> Reporter: Till Rohrmann
> Assignee: Till Rohrmann
> Fix For: 1.3.0
>
>
> The {{ZooKeeperLeaderElectionService}} should start its components under the
> {{lock}} in order to avoid race conditions with the {{LeaderLatchListener's}}
> callback {{isLeader}}. If this is not done, then a leader notification might
> go unnoticed from the election service because the {{LeaderLatch}} has been
> started but the internal state of the election service has not been set to
> running yet.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)