Remove clean_merge_jid call
What does this MR do and why?
To reduce the number of SQL update queries during merge, we now set the merge_jid = nil
when transitioning MergeRequest#state
to merged
. This will result to a single UPDATE query to set state_id
and merge_jid
instead of having a separate UPDATE query for setting merge_jid = nil
.
Related to discussion in !153810 (comment 1926373594).
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.