Convert merge request to head_pipeline_id to loose FK
What does this MR do and why?
- To avoid timeouts when deleting many MRs (when deleting a project) this MR uses loose foreign keys to nullify the relationship async rather than relying on database constraints.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #329901 (closed)
Edited by Max Woolf