[ 
https://issues.apache.org/jira/browse/AIRFLOW-5523?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16936011#comment-16936011
 ] 

Ash Berlin-Taylor commented on AIRFLOW-5523:
--------------------------------------------

Yes to tidying errors, but probably extend the "should delete DAGs that no 
longer exist" to filter out dags that have ever been run.

> 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)

Reply via email to