Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions task-sdk/docs/resumable-job-mixin.rst
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,14 @@ to check the current state of the job:
If the worker crashes in that gap, the next retry does not have the identifier and will
submit a fresh job. For most workloads this window is negligible.

.. note::

The stored identifier expires after ``[state_store] default_retention_days`` (30 days by
default), but nothing deletes it automatically, that only happens when someone runs
``airflow state-store clean``. Do not run that command while a task's ``retry_delay`` is
longer than ``default_retention_days``, the identifier could be gone by the next retry,
causing the operator to submit a fresh job instead of reconnecting.

Example
-------

Expand Down