uranusjr commented on issue #26933:
URL: https://github.com/apache/airflow/issues/26933#issuecomment-1375212752

   I think this is intended, at least from my reading of the implementation. 
Currently the scheduler checks how many free slots in the pool, and schedule at 
most that number of task instances in one iteration. So if a task instance 
finishes very quickly, its dependencies still need to wait until those task 
instances that the scheduler has already decided to schedule, even if those 
possibly lower-priority instances have not started.
   
   The only reasonable fix, from I can tell, is for the scheduler to schedule 
only one task instance per iteration, but personally I am not sure this is a 
common enough problem to worth slowing down the entire loop.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to