barak schoster created AIRFLOW-2236:
---------------------------------------

             Summary: Airflow SLA is triggered for all backfilled tasks
                 Key: AIRFLOW-2236
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2236
             Project: Apache Airflow
          Issue Type: Bug
          Components: backfill
    Affects Versions: Airflow 1.8, 1.8.1, 1.8.0, 1.9.0, 1.8.2
            Reporter: barak schoster


While executing a task with a historical execution date and a schedule interval 
of 1 hour, and SLA of 1 hours - all backfill instances appear as sla_miss - 
though the duration of each task was not exceeded.

 

I think that this is a result of comparing the tasks end time to utc.now at 
https://github.com/apache/incubator-airflow/blob/7cc6d8a5645b8974f07e132cc3c4820e880fd3ce/airflow/jobs.py#L624



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

Reply via email to