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

Daniel Gies commented on AIRFLOW-719:
-------------------------------------

This looks broken to me.  I run master in me dev environment and now it seems 
that ONE_SUCCESS is causing tasks to execute when any of the upstream tasks are 
skipped.
I have a lot of DAGs that use a BranchPythonOperator to select one path and 
skip the others, and a downstream task to collect all the branches and use 
ONE_SUCCESS to wait until the selected branch finishes.  What I'm seeing now is 
that the downstream task fires as soon as any of the branches are marked 
skipped.

> Skipped operations make DAG finish prematurely 
> -----------------------------------------------
>
>                 Key: AIRFLOW-719
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-719
>             Project: Apache Airflow
>          Issue Type: Sub-task
>            Reporter: Alex Van Boxel
>            Assignee: Alex Van Boxel
>             Fix For: 1.8.0rc5
>
>
> Since revision 2630361ca24737c28f458825b20ab11c9c996b17 the SKIPPED and 
> SUCCESS are treated the same, this causes the DAG to finish prematurely when 
> using a Branching operator where on branch is finished.



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

Reply via email to