airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "George Sakkis (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AIRFLOW-777) dag_is_running is initlialized to True instead of False
Date Mon, 23 Jan 2017 11:39:26 GMT

     [ https://issues.apache.org/jira/browse/AIRFLOW-777?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

George Sakkis updated AIRFLOW-777:
----------------------------------
    Assignee: George Sakkis

> 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
>            Assignee: George Sakkis
>             Fix For: 1.8.1
>
>
> 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)

Mime
View raw message