[
https://issues.apache.org/jira/browse/FLINK-20094?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17230120#comment-17230120
]
Till Rohrmann commented on FLINK-20094:
---------------------------------------
PR with change and a potential test case for FLINK-20033
> Make JobMaster.jobStatusChanged directly called by JobManagerJobStatusListener
> ------------------------------------------------------------------------------
>
> Key: FLINK-20094
> URL: https://issues.apache.org/jira/browse/FLINK-20094
> Project: Flink
> Issue Type: Improvement
> Components: Runtime / Coordination
> Affects Versions: 1.12.0
> Reporter: Till Rohrmann
> Priority: Major
> Fix For: 1.13.0
>
>
> Since the {{ExecutionGraph}} is only modified by the main thread, we no
> longer need to splice the {{JobManagerJobStatusListener}} callbacks back into
> the {{JobMaster's}} main thread using {{runAsync}}. Instead it should be
> possible to directly call {{JobMaster.jobStatusChanged}}.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)