Vamsi-klu commented on PR #68595: URL: https://github.com/apache/airflow/pull/68595#issuecomment-4764226522
This still allows an unbounded delete: the batch caps distinct `asset_id`s, but `asset_state_store` has one row per `(asset_id, key)`, so a single orphaned asset with many keys can delete an unbounded number of rows in one scheduler tick. Can we batch by actual `asset_state_store` primary-key rows, or otherwise cap the deleted row count, and add a test with multiple keys for one orphaned asset? -- 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]
