Skip to content

How does DAG deletion work? #21864

Answered by potiuk
CatarinaSilva asked this question in Q&A
Feb 28, 2022 · 3 comments · 6 replies
Discussion options

You must be logged in to vote

The DAGs have several states when it comes to being "not running". DAGs can be paused, deactivated
and finally all metadata for the DAG can be deleted.

Dag can be paused via UI when it is present in the DAGS_FOLDER, and scheduler stored it in
the database, but the user chose to disable it via the UI. The "pause" and "unpause" actions are available
via UI and API. Paused DAG is not scheduled by the Scheduler, but you can trigger them via UI for
manual runs. In the UI, you can see Paused DAGs (in Paused tab). The DAGs that are un-paused
can be found in the Active tab.

Dag can be deactivated (do not confuse it with Active tag in the UI by removing them from the
DAGS_FOLDER. When scheduler pa…

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
5 replies
@potiuk
Comment options

@nicnguyen3103
Comment options

@potiuk
Comment options

@satyamsareen
Comment options

@potiuk
Comment options

Answer selected by CatarinaSilva
Comment options

You must be logged in to vote
1 reply
@potiuk
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants