Andrei Iatsuk created AIRFLOW-6213:
--------------------------------------

             Summary: New dag with duplicated dag_id overrides existing dag
                 Key: AIRFLOW-6213
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-6213
             Project: Apache Airflow
          Issue Type: Bug
          Components: scheduler
    Affects Versions: 1.10.6
            Reporter: Andrei Iatsuk


*Given:*

Airflow with several dags

*What I do:*

I put in _$AIRFLOW_HOME_/dags new dag with dag_id that existing in one of 
current dags

 

*What happening:*

Every _dag_dir_list_interval_ dag with duplicated id can be old or new. 
Randomly.

*What I expect:*

Exeption in web-interface.

*Comment:*

I think, simple check on existing dag_id in set on _dag_dir_list_ action can 
rectify the situation.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to