You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Aizhamal Nurmamat kyzy (JIRA)" <ji...@apache.org> on 2019/05/17 20:03:04 UTC

[jira] [Updated] (AIRFLOW-1073) Dag stats not properly updated

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

Aizhamal Nurmamat kyzy updated AIRFLOW-1073:
--------------------------------------------
    Component/s:     (was: ui)
                     (was: db)
                     (was: DAG)
                 database

> Dag stats not properly updated
> ------------------------------
>
>                 Key: AIRFLOW-1073
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1073
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: database
>    Affects Versions: 1.8.0
>            Reporter: Fokko Driesprong
>            Priority: Major
>
> The dag stats are not properly updated resulting in invalid feedback on the UI.
> {code}
> airflow=> select * from dag_run where dag_id = 'spice' and state = 'running';
>  id | dag_id | execution_date | state | run_id | external_trigger | conf | end_date | start_date 
> ----+--------+----------------+-------+--------+------------------+------+----------+------------
> (0 rows)
> {code}
> {code}
> airflow=> select * from dag_stats where dag_id = 'spice';
>  dag_id |  state  | count | dirty 
> --------+---------+-------+-------
>  spice  | running |     6 | f
>  spice  | failed  |     3 | f
>  spice  | success |   382 | f
> (3 rows)
> {code}



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