Wrap merge_data & merge_request into single transaction
What does this MR do and why?
With first MR we introduced dual-write on merge_requests table, and in this MR, we wrap all DB write operations into a single transaction for data consistency.
References
- Issue - https://gitlab.com/gitlab-org/gitlab/-/issues/560933+
- Previous MR - Handle dual writes for remaining merge_data att... (!210454 - merged)
Screenshots or screen recordings
NA
How to set up and validate locally
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by zli