You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Muthuraj Ramasamy (JIRA)" <ji...@apache.org> on 2017/03/28 01:21:41 UTC

[jira] [Created] (AIRFLOW-1049) Mark Success is picking all execution date when past and future task options are not enabled

Muthuraj Ramasamy created AIRFLOW-1049:
------------------------------------------

             Summary: Mark Success is picking all execution date when past and future task options are not enabled
                 Key: AIRFLOW-1049
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1049
             Project: Apache Airflow
          Issue Type: Bug
          Components: ui
    Affects Versions: Airflow 2.0, Airflow 1.8
            Reporter: Muthuraj Ramasamy
         Attachments: mark success bug.jpg

Scenario : DAGs are submitted multiple times a day and multiple days is considered. Assume a task T1 failed on all runs.

While trying to mark in as success through web ui for a particular run, all the runs of the task [all executed dates] are listed and then marked as success.

This occurs as the parameter "dates" in mark_tasks.set_state function is calculated as empty and the milliseconds are truncated. Its better to implement a between clause function instead of listed dates.





--
This message was sent by Atlassian JIRA
(v6.3.15#6346)