[ https://issues.apache.org/jira/browse/FLINK-7659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16184005#comment-16184005 ]
ASF GitHub Bot commented on FLINK-7659: --------------------------------------- Github user asfgit closed the pull request at: https://github.com/apache/flink/pull/4703 > Unprotected access to inProgress in > JobCancellationWithSavepointHandlers#handleNewRequest > ----------------------------------------------------------------------------------------- > > Key: FLINK-7659 > URL: https://issues.apache.org/jira/browse/FLINK-7659 > Project: Flink > Issue Type: Bug > Components: REST > Reporter: Ted Yu > Assignee: Bowen Li > > Here is related code: > {code} > } finally { > inProgress.remove(jobId); > } > {code} > A little lower, in another finally block, there is: > {code} > synchronized (lock) { > if (!success) { > inProgress.remove(jobId); > {code} > which is correct. -- This message was sent by Atlassian JIRA (v6.4.14#64029)