[
https://issues.apache.org/jira/browse/AIRFLOW-1366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16081283#comment-16081283
]
ASF subversion and git services commented on AIRFLOW-1366:
----------------------------------------------------------
Commit 4f20f607764bb3477419321b5dfd0c53ba1db3c0 in incubator-airflow's branch
refs/heads/master from [~allisonwang]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=4f20f60 ]
[AIRFLOW-1366] Add max_tries to task instance
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 new column will be used to update logic
behind clear_task_instances.
db migration is tested locally.
Closes #2409 from AllisonWang/allison--max-tries
> 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)