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

Kang Yu commented on AIRFLOW-4013:
----------------------------------

May relate to AIRFLOW-1049

> Mark success/failed is picking all execution date
> -------------------------------------------------
>
>                 Key: AIRFLOW-4013
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-4013
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: webserver
>    Affects Versions: 1.10.2
>            Reporter: Kang Yu
>            Priority: Major
>
> page: graph view with latest task instance
> action: click a task then click "Mark Failed" or "Mark Success"
> result: the confirm page will show same task_id task with all execution date.
> expected: only one task instance should be listed to exactly match the 
> execution date.
> condition: schedule_interval = None
>  
> What I've investigated:
> - 
> [https://github.com/apache/airflow/blob/1.10.2/airflow/api/common/experimental/mark_tasks.py#L97-L100]
>    (haven't processed with schedule_interval is None)
> - 
> [https://github.com/apache/airflow/blob/1.10.2/airflow/models.py#L3470-L3475] 
> (will return empty list if schedule_interval is None)
> - 
> [https://github.com/apache/airflow/blob/1.10.2/airflow/utils/dates.py#L64-L65]
>  (will return empty list if schedule_interval is None)



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

Reply via email to