Skip to content

Resolve "Revert - Remove `user_interacted_projects` table"

What does this MR do and why?

In !139630 (comment 1781181642) we introduced migrations to remove the relevant foreign keys and drop the user_interacted_projects table. This caused a minor incident (gitlab-com/gl-infra/production#17622 (closed)) due to the foreign keys referencing to two different high-traffic tables (users, projects) which caused a deadlock. This MR addresses the incident by changing the old migrations to no-op.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Related to #360823 (closed)

Edited by Diogo Frazão

Merge request reports