flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Till Rohrmann (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-2604) Access to SessionID without holding lock in ZooKeeperLeaderElectionService
Date Wed, 02 Sep 2015 07:40:45 GMT

    [ https://issues.apache.org/jira/browse/FLINK-2604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14726921#comment-14726921
] 

Till Rohrmann commented on FLINK-2604:
--------------------------------------

Forget my last comment. Thanks for spotting it. I'll fix it.

> 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)

Mime
View raw message