You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/04/29 03:26:00 UTC

[jira] [Updated] (FLINK-12361) Remove useless expression from runtime scheduler

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

ASF GitHub Bot updated FLINK-12361:
-----------------------------------
    Labels: pull-request-available  (was: )

> Remove useless expression from runtime scheduler
> ------------------------------------------------
>
>                 Key: FLINK-12361
>                 URL: https://issues.apache.org/jira/browse/FLINK-12361
>             Project: Flink
>          Issue Type: Improvement
>          Components: Runtime / Operators
>            Reporter: Liya Fan
>            Assignee: Liya Fan
>            Priority: Minor
>              Labels: pull-request-available
>         Attachments: image-2019-04-29-11-16-13-492.png
>
>
> In the scheduleTask method of Scheduler class, expression forceExternalLocation is useless, since it always evaluates to false:
>  !image-2019-04-29-11-16-13-492.png! 
> So it can be removed. Moreover, by removing this expression, the code structure can be made much simpler, because there are some branches relying this expression, which can also be removed. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)