[ https://issues.apache.org/jira/browse/FLINK-7659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chesnay Schepler closed FLINK-7659. ----------------------------------- Resolution: Fixed Fix Version/s: 1.3.3 1.4.0 1.3: 426a81cb2f77c4bf58f1c3639013231778634cf8 > 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 > Fix For: 1.4.0, 1.3.3 > > > 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)