[ 
https://issues.apache.org/jira/browse/AIRFLOW-4013?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kaxil Naik resolved AIRFLOW-4013.
---------------------------------
    Fix Version/s: 1.10.5
       Resolution: Fixed

> 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
>            Assignee: Qian Yu
>            Priority: Major
>             Fix For: 1.10.5
>
>         Attachments: screenshot-1.png, screenshot-2.png
>
>
> 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 
> (from all runs).
> 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
(v8.3.2#803003)

Reply via email to