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

Zhu Zhu closed FLINK-19806.
---------------------------
    Resolution: Fixed

Fixed via:
1.12: 1538e5695c561d10c4e92fed9d0cf561b3125f0a
1.11: 4054aa01ebb70aa7e4bf9b3bf96916f96869b42d


> 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, 1.11.3
>
>
> {{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