Liya Fan created FLINK-12361:
--------------------------------
Summary: 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
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)