Fokko Driesprong created AIRFLOW-1073:
-----------------------------------------

             Summary: 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


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
(v6.3.15#6346)

Reply via email to