Skip to content

Schduler crash when delete a dag on UI. #25130

Answered by potiuk
AndrewTsao asked this question in General
Discussion options

You must be logged in to vote

Converted it into discussion as this is kind of expected.

Until versioning is implemented, similar problems are expected. We are aware about some of the edge cases like this, but we want to handle them with https://cwiki.apache.org/confluence/display/AIRFLOW/AIP-36+DAG+Versioning - currently you are not supposed to change the dag_id and delete the old one. Airflow does not support versions of the dag when you change or rename them. If you want to rename the dag, Delete it first, copy the old DAG into new file changing the id and then remove the old file.

Currently this paragraph describe your DAG evolution: https://airflow.apache.org/docs/apache-airflow/stable/index.html

Workflows are ex…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by AndrewTsao
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bug This is a clearly a bug area:core
2 participants
Converted from issue

This discussion was converted from issue #25117 on July 18, 2022 17:02.