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

Ash Berlin-Taylor commented on AIRFLOW-5006:
--------------------------------------------

This is expected, and in the name - you've asked for that run to be Cleared, so 
clear it we did. If you wish to re-run but keep the old history some combo of 
the "Ignore Task State" option to run may be called for.



> Need task_failures audit trail for failed run in metastore db even after 
> running 'clear' results in next DagRun successful
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AIRFLOW-5006
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-5006
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: database
>    Affects Versions: 1.10.3
>         Environment: mysql RDS metastore, localexecutor
>            Reporter: t oo
>            Priority: Major
>
> if a dagrun fails (and so some rows go to task_fail table in metastore) but 
> then after running 'clear' from cli to restart the dagrun (and its successful 
> run) the rows from metastore's task_fail table get deleted. is this expected? 
> or is there some way i can keep history of all failures in metastore?



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to