You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/07/05 03:26:02 UTC

[GitHub] [airflow] uranusjr commented on issue #14265: successful DAG run fails to be scheduled after being manually cleared if Dag.dagrun_timeout is set

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


   Actually this was already fixed in main with #15382 (not sure if it’s intended though).
   
   As mentioned above, the issue is caused by `DAG.clear()`, when calling `clear_task_instances`, does not reset a dagrun’s `start_date`. But after #15382, `DagRun.start_date` is unconditionally set, so the issue went away.
   
   However, that patch is currently only in main, not the 2.1 branch, so we’ll need to figure out what to do for 2.1.2. Either backport a part of #15382, or implement a more band-aid fix for 2.1.x specifically, I think.


-- 
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-unsubscribe@airflow.apache.org

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