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

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

Commit 18009d03311a0b29e14811865e0b13b19427b5e4 in incubator-airflow's branch 
refs/heads/master from [~john.nason]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=18009d0 ]

[AIRFLOW-131] Make XCom.clear more selective

XCOMs for a task were getting cleared on every run, no matter what.
Selectively clear only when the task is actually going to be run.

Closes #1570 from johnnason/AIRFLOW-131


> XCom data is cleared even if a task already succeeded
> -----------------------------------------------------
>
>                 Key: AIRFLOW-131
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-131
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: xcom
>    Affects Versions: Airflow 1.7.1
>            Reporter: Jeremiah Lowin
>            Assignee: Jeremiah Lowin
>
> In {{TaskInstance.run()}}, the XCom data is immediately cleared. It should 
> not be cleared until we determine that the task is actually going to run. For 
> example, if the task already succeeded it won't run and we want the XCom data 
> to remain.
> Reported here: 
> https://github.com/apache/incubator-airflow/issues/999#issuecomment-220047510



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

Reply via email to