[
https://issues.apache.org/jira/browse/FLINK-23946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17477068#comment-17477068
]
David Morávek commented on FLINK-23946:
---------------------------------------
I'll still try to do a backport for 1.13, unless it's too much effort (this
code has evolved a lot during past couple of releases). 1.12 is not supported
anymore by the community, so I don't think we need to invest in that.
> Application mode fails fatally when being shut down
> ---------------------------------------------------
>
> Key: FLINK-23946
> URL: https://issues.apache.org/jira/browse/FLINK-23946
> Project: Flink
> Issue Type: Bug
> Components: Runtime / Coordination
> Affects Versions: 1.14.0, 1.12.5, 1.13.2
> Reporter: Till Rohrmann
> Assignee: David Morávek
> Priority: Critical
> Labels: pull-request-available, stale-assigned
> Fix For: 1.15.0, 1.13.6, 1.14.4
>
>
> The application mode fails fatally when being shut down (e.g. if the
> {{Dispatcher}} loses its leadership). The problem seems to be that the
> {{ApplicationDispatcherBootstrap}} cancels the {{applicationExecutionTask}}
> and {{applicationCompletionFuture}} that can trigger the execution of the
> fatal exception handler in the handler of the {{applicationCompletionFuture}}.
> I suggest to only call the fatal exception handler if an unexpected exception
> occurs in the {{applicationCompletionFuture}} callback.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)