You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Dan Davydov (Jira)" <ji...@apache.org> on 2019/09/19 20:56:00 UTC

[jira] [Created] (AIRFLOW-5523) DAGs never get cleaned up from webservers if DAG file is removed from the scheduler

Dan Davydov created AIRFLOW-5523:
------------------------------------

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