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

   I am not talking about a resource conflict. That indeed would be tricky to 
implement.
   
   The problem I encountered is much more basic. It happens within a high 
priority DAG with multiple tasks. After the first task is finished instead of 
scheduling the next one in this DAG, which has high priority and is ready to 
start, a low priority task from a different DAG is scheduled. I presume just 
because of the fact that it is already waiting and the dependent tasks has not 
been marked for scheduling.
   
   We need to somehow make sure hat the dependent tasks of a finishing tasks 
are put into the waiting queue, before scheduling any new tasks for the now 
free slot. So that 4 always happens before 3 or even 2.
   
   
![image](https://user-images.githubusercontent.com/235346/211280728-8be0bdaa-87bf-4c26-b9ca-d866a2a6b2a5.png)
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to