Skip to content

LooseForeignKeys::CleanupWorker is falling behind while processing CI LFK_deleted_records

This issue happened before. See issue. It's happening again now. LooseForeignKeys::CleanupWorker cannot catch up on the number of items on ci database.

To temporarily mitigate this issue, we can enable OPS feature flag loose_foreign_keys_turbo_mode_ci, so that the clean up worker catches up. But that probably doesn't solve the original problem. There must be some slow queries.

References:

Open related issue:

Edited by Omar Qunsul