StateAbandoned in favour of AIP-24
Discussion Thread[DISCUSS] AIP-12 Persist DAG into DB
JIRA

Created


Video of current problem: https://www.youtube.com/watch?v=sNrBruPS3r4

We propose to persist all information of a DAG.py file in the Airflow metastore and make the webserver read the state from the metastore instead of parsing the dags in the webserver process itself. This has several advantages:

Required changes

Edges in the database

Adding edges to the database is needed to be able to visualize the graph of a DAG.

To do this there are 3 options:

  1. Persist single version of DAG edges (latest only)

  2. Adding edges for each DagRun.

  3. Versioned graphs.