You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "jack (JIRA)" <ji...@apache.org> on 2019/01/23 07:58:00 UTC

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

    [ https://issues.apache.org/jira/browse/AIRFLOW-1073?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16749636#comment-16749636 ] 

jack commented on AIRFLOW-1073:
-------------------------------

[~Fokko] is this still an issue?

> Dag stats not properly updated
> ------------------------------
>
>                 Key: AIRFLOW-1073
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1073
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: DAG, db, ui
>    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)