[ 
https://issues.apache.org/jira/browse/FLINK-23946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17411743#comment-17411743
 ] 

David Morávek commented on FLINK-23946:
---------------------------------------

Would result in test flakiness without resolving FLINK-24038 first.

> 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
>             Fix For: 1.14.0, 1.12.6, 1.13.3
>
>
> 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.3.4#803005)

Reply via email to