nikie commented on issue #18304: URL: https://github.com/apache/airflow/issues/18304#issuecomment-945172125
A fast and persistent user is able to unblock the runs as follows: 5. Mark dagrun 2 as failed. 6. Once dagrun 1 starts executing - clear Task B in dagrun 2 so that dagrun 2 is scheduled again. 7(a) Dagrun 1 completes, dagrun 2 starts, deadlock is resolved. 7(b) If dagrun 1 completes before Task B was cleared in dagrun 2, then dagrun 3 will start and will be blocked by dagrun 2. In this case repeat from (5) with the new dagrun pair :) 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. 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]
