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

James Davidheiser commented on AIRFLOW-2143:
--------------------------------------------

I also confirmed that this affects error emails too - a task that fails on its 
first try starts the email out with `Try 2 out of 1`

> Try number displays incorrect values in the web UI
> --------------------------------------------------
>
>                 Key: AIRFLOW-2143
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2143
>             Project: Apache Airflow
>          Issue Type: Bug
>    Affects Versions: 1.9.0
>            Reporter: James Davidheiser
>            Priority: Minor
>         Attachments: adhoc_query.png, task_instance_page.png
>
>
> This was confusing us a lot in our task runs - in the database, a task that 
> ran is marked as 1 try.  However, when we view it in the UI, it shows at 2 
> tries in several places.  These include:
>  * Task Instance Details (ie 
> [https://airflow/task?execution_date=xxx&dag_id=xxx&task_id=xxx 
> )|https://airflow/task?execution_date=xxx&dag_id=xxx&task_id=xxx]
>  * Task instance browser (/admin/taskinstance/)
>  * Task Tries graph (/admin/airflow/tries)
> Notably, is is correctly shown as 1 try in the log filenames, on the log 
> viewer page (admin/airflow/log?execution_date=), and some other places.



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

Reply via email to