flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FLINK-5391) Unprotected access to shutdown in AbstractNonHaServices#checkNotShutdown()
Date Fri, 30 Dec 2016 02:43:58 GMT

     [ https://issues.apache.org/jira/browse/FLINK-5391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ted Yu updated FLINK-5391:
--------------------------
    Description: 
{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.

  was:
{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.


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

Mime
View raw message