-
|
We recently updated our Airlflow from 2.x to the latest 3.x. I now need to re-run some older instances that were created with the 2.x version of Airflow, but the task is never enqueued with this log message: How can I re-run this task instance and use the latest version of the dag for it? I do not see any option for that in the clear modal. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
|
Short version: those task instances have no It's meant to self-heal: when the run goes back through
One version note: the "skip and backfill instead of crashing the scheduler" handling landed in 3.1.8 (#61813). If you're below that, upgrade first, otherwise these null-version TIs can wedge the scheduler. |
Beta Was this translation helpful? Give feedback.
-
|
While I wasn't able to make this work with Airflow 3.2.2, Airflow 3.3.0 does provide the option of using the latest version on clear, and that fixes the issue. |
Beta Was this translation helpful? Give feedback.
Defining
rerun_with_latest_version=Trueat the DAG level after the upgrade to 3.3.0 seems to work, even though the checkbox doesn't always consistently show up in the UI.At the very least this obstacle seems to have been surpassed.