steveahnahn commented on PR #68595:
URL: https://github.com/apache/airflow/pull/68595#issuecomment-4771217744

   confirmed, you're right. `asset_state_store's` PK is (asset_id, key), so 
capping `distinct asset_ids` still let one orphaned asset with many keys become 
an unbounded single delete. Fixed in `927756b` and added a regression test with 
one orphaned asset holding multiple keys. It drains 2 rows/tick instead of all 
at once and fails against the previous version


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