[ https://issues.apache.org/jira/browse/AIRFLOW-5523?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16993246#comment-16993246 ]
Vishesh Jain commented on AIRFLOW-5523: --------------------------------------- [~chrispalmer16] Here is a discussion thread for this Jira <[https://lists.apache.org/thread.html/53b5a3bc63f39415850cd12c34ee2903aa6d132248d1e02a66816675%40%3Cdev.airflow.apache.org%3E]> > DAGs never get cleaned up from webservers if DAG file is removed from the > scheduler > ----------------------------------------------------------------------------------- > > Key: AIRFLOW-5523 > URL: https://issues.apache.org/jira/browse/AIRFLOW-5523 > Project: Apache Airflow > Issue Type: Bug > Components: webserver > Affects Versions: 1.10.5 > Reporter: Dan Davydov > Priority: Major > Attachments: Screen Shot 2019-09-19 at 4.39.24 PM.png > > > DAGs are never removed from the DB if the DAG file used to generate the DAGs > is removed. This causes the webserver to accumulate broken dag rows (see > attached screenshot). > The scheduler should delete all DAGs from the DAG table with files that no > longer exist when it scans the DAGs folder for files. -- This message was sent by Atlassian Jira (v8.3.4#803005)