amoghrajesh commented on issue #65780:
URL: https://github.com/apache/airflow/issues/65780#issuecomment-4363853270

   Also making a note that we need to do this -- `asset_state` FK only cascades 
on asset row deletion, but airflow GC removes `asset_active`, so inactive 
asset's state rows accumulate silently. Expand this task to include a cleanup 
pass that deletes `asset_state` rows for assets with no corresponding 
asset_active entry, hooked into the same job as the task state retention 
cleanup.


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