Newton Le created AIRFLOW-3060:
----------------------------------

             Summary: DAG context manager fails to exit properly in certain 
circumstances
                 Key: AIRFLOW-3060
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-3060
             Project: Apache Airflow
          Issue Type: Bug
          Components: DAG
            Reporter: Newton Le
            Assignee: Newton Le


In certain circumstances, such as in more complex DAGs where users utilize 
helper functions to add tasks, it may be possible to get into a condition where 
effectively there is a nested DAG context using the same DAG. When this 
happens, exiting both contexts does not reset `_CONTEXT_MANAGER_DAG`.

This is especially problematic because the problem is seen in a later DAG, and 
the source of the error is not apparent.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to