[ https://issues.apache.org/jira/browse/AIRFLOW-1366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Allison Wang resolved AIRFLOW-1366. ----------------------------------- Resolution: Done > Add max_tries to task instance > ------------------------------ > > Key: AIRFLOW-1366 > URL: https://issues.apache.org/jira/browse/AIRFLOW-1366 > Project: Apache Airflow > Issue Type: Improvement > Reporter: Allison Wang > Assignee: Allison Wang > > Right now Airflow deletes the task instance when user clear it. We have no > way of keeping track of how many times a task instance gets run either via > user or itself. So instead of deleting the task instance record, we should > keep the task instance and make try_number monotonically increasing for every > task instance attempt. max_tries is introduced as an upper bound for retrying > tasks by task itself. -- This message was sent by Atlassian JIRA (v6.4.14#64029)