From 892193f53359672c34af4749f17b5c43ab70bcfd Mon Sep 17 00:00:00 2001 From: Dmytro Kazanzhy Date: Thu, 2 Dec 2021 15:14:48 +0200 Subject: [PATCH] Add xcom clearing behaviour on task retries --- docs/apache-airflow/concepts/xcoms.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/apache-airflow/concepts/xcoms.rst b/docs/apache-airflow/concepts/xcoms.rst index 315c872ace424..eb11ff707fa5d 100644 --- a/docs/apache-airflow/concepts/xcoms.rst +++ b/docs/apache-airflow/concepts/xcoms.rst @@ -38,6 +38,9 @@ You can also use XComs in :ref:`templates `:: XComs are a relative of :doc:`variables`, with the main difference being that XComs are per-task-instance and designed for communication within a DAG run, while Variables are global and designed for overall configuration and value sharing. +:: + + Note: If the first task run is not succeeded then on every retry task XComs will be cleared to make the task run idempotent. Custom Backends ---------------