Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.11.0
Description
The PipelinedRegionSchedulingStrategy submits one pipelined region to the DefaultScheduler each time. The PipelinedRegionSchedulingStrategy must be aware of the inputs of each pipelined region. It should schedule a region if and only if all the inputs of that region become consumable.
PipelinedRegionSchedulingStrategy can implement as below:
- startScheduling() : schedule all source regions one by one.
- onPartitionConsumable(partition) : Check all the consumer regions of the notified partition, if all the inputs of a region have turned to be consumable, schedule the region
- restartTasks(tasksToRestart) : find out all regions which contain the tasks to restart, reschedule those whose inputs are all consumable
Attachments
Issue Links
- links to