GitHub user zuyu opened a pull request:
https://github.com/apache/incubator-quickstep/pull/279
Applied WorkOrderSelectionPolicy.
This PR introduced `WorkOrderSelectionPolicy` to choose the next
`WorkOrder` for the execution, and uses the following policy: first `FIFO` for
`RebuildWorkOrder`s, and then `LIFO` for normal `WorkOrder`s.
This policy favors any `RebuildWorkOrder` to reduce the total operator
completion time, and normal `WorkOrder`s generated from data pipeline messages.
Finally, a normal `WorkOrder` from a larger `OperatorIndex` is preferred.
Assigned to @jianqiao.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/zuyu/incubator-quickstep
refactor-getNextWorkerMessage
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-quickstep/pull/279.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #279
----
commit e95fee93ca1854da589687976c900239e0f2cf2d
Author: Zuyu Zhang <[email protected]>
Date: 2017-08-10T02:13:29Z
Applied WorkOrderSelectionPolicy.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---