You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Bowen Li (JIRA)" <ji...@apache.org> on 2017/09/22 05:37:01 UTC
[jira] [Updated] (FLINK-7659) Unprotected access to inProgress in
JobCancellationWithSavepointHandlers#handleNewRequest
[ 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)