You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2018/09/02 18:03:03 UTC
[jira] [Commented] (AIRFLOW-2466)
_change_state_for_tis_without_dagrun ignores task_id on non-sqlite dbs
[ https://issues.apache.org/jira/browse/AIRFLOW-2466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16601470#comment-16601470 ]
Apache Spark commented on AIRFLOW-2466:
---------------------------------------
User 'gwax' has created a pull request for this issue:
https://github.com/apache/incubator-airflow/pull/3360
> _change_state_for_tis_without_dagrun ignores task_id on non-sqlite dbs
> ----------------------------------------------------------------------
>
> Key: AIRFLOW-2466
> URL: https://issues.apache.org/jira/browse/AIRFLOW-2466
> Project: Apache Airflow
> Issue Type: Bug
> Reporter: George Leslie-Waksman
> Assignee: George Leslie-Waksman
> Priority: Blocker
> Fix For: 1.10.0, 2.0.0
>
>
> This filter is supposed to choose tasks based on the subquery: [https://github.com/apache/incubator-airflow/blob/master/airflow/jobs.py#L1013]
>
> The filter, however, does not specify task_id, so it will indiscriminately change all tasks on a DagRun if anything matches.
>
> This can result in tasks succeeding and then being remarked as failed when a DagRun fails because of a different task.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)