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

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

Commit 4edf9138d03fa4cbce5a1fc9059735d6f80f80f2 in incubator-airflow's branch 
refs/heads/master from [~bolke]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=4edf913 ]

[AIRFLOW-803] Revert join with dag_runs in _execute_task_instances

TaskInstances will be set to 'scheduled' if they meet the criteria to run,
 also the ones up for retry. No task_instance will be send to the executor
in another state than 'scheduled'.


> Manual triggered dags are not running 
> --------------------------------------
>
>                 Key: AIRFLOW-803
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-803
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: scheduler
>    Affects Versions: 1.8.0b2
>            Reporter: Bolke de Bruin
>            Priority: Blocker
>             Fix For: 1.8.0b3
>
>
> After cgroups+impersonation was added the task_instances for manually created 
> dag_runs are not executed anymore. This is due to the fact the task_instance 
> table is now joined against running dag_runs with a 'scheduled' run_id.
> This change is however not required, as task_instances will only be in 
> 'scheduled' state when they are send to the executore. Tasks from dag_runs in 
> failed state will not be scheduled by contract.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to