[
https://issues.apache.org/jira/browse/AIRFLOW-953?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16722790#comment-16722790
]
jack commented on AIRFLOW-953:
------------------------------
Why duration should be 0? It logs the time it took the task to be completed.
> Tasks marked as successful should have complete state set
> ---------------------------------------------------------
>
> Key: AIRFLOW-953
> URL: https://issues.apache.org/jira/browse/AIRFLOW-953
> Project: Apache Airflow
> Issue Type: Bug
> Components: webserver
> Reporter: Dan Davydov
> Priority: Major
> Labels: beginner, starter
>
> Tasks marked as successful should have start/end_date/duration/operator set .
> start/end dates should be the same and denote the time the task was marked as
> successful, duration should be 0, and the operator should be filled in
> correctly with the task's operator.
> This should be fixed because otherwise the task instance state is not
> complete which could break some operations in Airflow, and prevents things
> like scripts that delete old tasks from Airflow (since e.g. start_date is not
> specified for these tasks).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)