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

Zhu Zhu updated FLINK-19806:
----------------------------
    Fix Version/s: 1.12.0

> Job may try to leave SUSPENDED state in ExecutionGraph#failJob()
> ----------------------------------------------------------------
>
>                 Key: FLINK-19806
>                 URL: https://issues.apache.org/jira/browse/FLINK-19806
>             Project: Flink
>          Issue Type: Bug
>          Components: Runtime / Coordination
>    Affects Versions: 1.10.0
>            Reporter: Zhu Zhu
>            Assignee: Zhu Zhu
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.12.0
>
>
> {{SUSPENDED}} is a terminal state which a job is not supposed to leave this 
> state once entering. However, {{ExecutionGraph#failJob()}} did not check it 
> and may try to transition a job out from {{SUSPENDED}} state. This will cause 
> unexpected errors and may lead to JM crash.
> The problem can be visible if we rework {{ExecutionGraphSuspendTest}} to be 
> based on {{DefaultScheduler}}.
> We should harden the check in {{ExecutionGraph#failJob()}}.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to