You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Newton Le (JIRA)" <ji...@apache.org> on 2018/09/13 21:27:01 UTC

[jira] [Created] (AIRFLOW-3060) DAG context manager fails to exit properly in certain circumstances

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)