You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "George Sakkis (JIRA)" <ji...@apache.org> on 2017/01/20 15:48:26 UTC

[jira] [Created] (AIRFLOW-777) dag_is_running is initlialized to True instead of False

George Sakkis created AIRFLOW-777:
-------------------------------------

             Summary: dag_is_running is initlialized to True instead of False
                 Key: AIRFLOW-777
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-777
             Project: Apache Airflow
          Issue Type: Bug
          Components: scheduler
            Reporter: George Sakkis


At https://github.com/apache/incubator-airflow/blob/master/airflow/jobs.py#L922:
{noformat}
            dag_is_running = True
            for dag_run in dag_runs:
                if dag_run.state == State.RUNNING:
                    dag_is_running = True
                    break
{noformat}
So {{dag_is_running}} is always True



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)