Skip to content

Fix slow query when promoting issue to an epic

Heinrich Lee Yu requested to merge 367935-fix-performance-issue-promote into master

What does this MR do and why?

Fixes a performance regression introduced by !91591 (merged).

This is purely a performance problem because even if extra labels are returned by cloneable_labels, these are filtered out by AvailableLabelsService when the Epic is actually created.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #367935 (closed)

Edited by Heinrich Lee Yu

Merge request reports