nikie edited a comment on issue #18304:
URL: https://github.com/apache/airflow/issues/18304#issuecomment-945172125


   The user is able to unblock the runs as follows:
   5. Clear Task B in dagrun 2. This moves dagrun 2 into queued state. It 
appears that clearing a task in "no_status" state (white square) deactivates a 
running dagrun.
   6. Dagrun 1 completes. Dagrun 2 starts executing.
   
   A possible fix could be to detect the deadlock situation and automatically 
move dagrun 2 into scheduled state, clearing path for the dagrun 1. Not sure if 
this is feasible from technical perspective.
   Another option could be to add a feature "Mark queued" for dagruns so that 
they can be deactivated manually without touching individual tasks, which is 
not obvious.
   
   It might be worth to mention the workaround in documentation if not going to 
fix.


-- 
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