amoghrajesh commented on code in PR #66463:
URL: https://github.com/apache/airflow/pull/66463#discussion_r3196026872


##########
airflow-core/src/airflow/config_templates/config.yml:
##########
@@ -3025,6 +3014,29 @@ state_store:
       type: string
       example: "mypackage.state.CustomStateBackend"
       default: "airflow.state.metastore.MetastoreStateBackend"
+    default_retention_days:
+      description: |
+        Number of days to retain task state rows after their last update.

Review Comment:
   `default_retention_days` only applies to `task_state` rows. `asset_state` 
has no time-based GC — it is cleared explicitly (as per AIP) or via orphan 
cleanup when the asset is deregistered. Updated the config description to make 
this clear.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to