You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Daniel Gies (JIRA)" <ji...@apache.org> on 2016/10/13 22:22:20 UTC

[jira] [Created] (AIRFLOW-568) Task status circles on overview page show double count if a DAG is running

Daniel Gies created AIRFLOW-568:
-----------------------------------

             Summary: Task status circles on overview page show double count if a DAG is running
                 Key: AIRFLOW-568
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-568
             Project: Apache Airflow
          Issue Type: Bug
          Components: webserver
    Affects Versions: Airflow 2.0
            Reporter: Daniel Gies


If you use `airflow backfill` to create a the first DagRun of a DAG, the overview page at /admin will show exactly double the correct counts for the task status bubbles.  This is happening because the task_stats view is taking the union of 2 sets of statuses, the stats of the DagRun with the highest execution date, plus the stats of all running DagRuns.  Because the running DagRun is also the highest execution date its tasks get double counted.



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