You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Stephan Ewen (JIRA)" <ji...@apache.org> on 2017/01/05 19:28:58 UTC

[jira] [Commented] (FLINK-5391) Unprotected access to shutdown in AbstractNonHaServices#checkNotShutdown()

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

Stephan Ewen commented on FLINK-5391:
-------------------------------------

What do you think [~tedyu]

> Unprotected access to shutdown in AbstractNonHaServices#checkNotShutdown()
> --------------------------------------------------------------------------
>
>                 Key: FLINK-5391
>                 URL: https://issues.apache.org/jira/browse/FLINK-5391
>             Project: Flink
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Priority: Minor
>
> {code}
>   private void checkNotShutdown() {
>     checkState(!shutdown, "high availability services are shut down");
> {code}
> Access to shutdown is protected by lock in other places.
> The code above should protect with lock as well.



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