[jira] [Created] (FLINK-2604) Access to SessionID without holding lock in ZooKeeperLeaderElectionService

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-2604) Access to SessionID without holding lock in ZooKeeperLeaderElectionService

Shang Yuanchun (Jira)
Ted Yu created FLINK-2604:
-----------------------------

             Summary: Access to SessionID without holding lock in ZooKeeperLeaderElectionService
                 Key: FLINK-2604
                 URL: https://issues.apache.org/jira/browse/FLINK-2604
             Project: Flink
          Issue Type: Bug
            Reporter: Ted Yu


In stop() method of ZooKeeperLeaderElectionService :
{code}
                confirmedLeaderSessionID = null;
                issuedLeaderSessionID = null;
{code}
In other part of the class, access to either of the above fields is guarded by synchronized (lock).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)