You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Daniel Imberman (Jira)" <ji...@apache.org> on 2020/03/29 15:25:00 UTC

[jira] [Commented] (AIRFLOW-323) Should be able to prevent tasks from overlapping across multiple DAG Runs

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

Daniel Imberman commented on AIRFLOW-323:
-----------------------------------------

This issue has been moved to https://github.com/apache/airflow/issues/7960

> Should be able to prevent tasks from overlapping across multiple DAG Runs
> -------------------------------------------------------------------------
>
>                 Key: AIRFLOW-323
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-323
>             Project: Apache Airflow
>          Issue Type: Bug
>    Affects Versions: 1.7.1.2
>         Environment: 1.7.1.2
>            Reporter: Isaac Steele
>            Assignee: Isaac Steele
>            Priority: Major
>
> As a the Airflow administrator,
> If a task from a previous DAG Run is still running when the next scheduled run triggers the same task, there should be a way prevent the tasks from overlapping.
> Otherwise the same code could end up running multiple times simultaneously.
> To reproduce:
> 1) Create a DAG with a short scheduled interval
> 2) Create a task in that DAG to run longer than the interval
> Result: Both tasks end up running that the same time.
> This can cause tasks to compete for resources as well as duplicating or overwriting what the other task is doing.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)