Skip to content

Commit

Permalink
Add xcom clearing behaviour on task retries (#19968)
Browse files Browse the repository at this point in the history
Co-authored-by: Dmytro Kazanzhy <[email protected]>
  • Loading branch information
kazanzhy and Dmytro Kazanzhy authored Dec 5, 2021
1 parent e8b1120 commit 538612c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/apache-airflow/concepts/xcoms.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ You can also use XComs in :ref:`templates <concepts:jinja-templating>`::

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
---------------
Expand Down

0 comments on commit 538612c

Please sign in to comment.