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

Bowen Li updated FLINK-7659:
----------------------------
    Component/s: REST

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

Reply via email to