airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (Jira)" <j...@apache.org>
Subject [jira] [Commented] (AIRFLOW-4013) Mark success/failed is picking all execution date
Date Thu, 22 Aug 2019 14:45:01 GMT

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

ASF subversion and git services commented on AIRFLOW-4013:
----------------------------------------------------------

Commit df4fe07d67bbb29f359a606552d77d3aba92e293 in airflow's branch refs/heads/v1-10-test
from yuqian90
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=df4fe07 ]

[AIRFLOW-4013] Fix Mark Success/Failed picking all execution_date bug (#5616)

(cherry picked from commit 46885ccdbc8618f295b8f986da95c1abbb85bb02)


> 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)

Mime
View raw message