Skip to content

Draft: Fix N+1 queries for milestones search

Dmitry Gruzd requested to merge 227383-fix-search-commits-n-plus-1 into master

What does this MR do?

Related to gitlab-org/search-team/team-tasks#36 (closed)

Bullet detected an N+1 call when searching Milestones. Fixed by preloading associations for web searches.

#325887 (closed)

Screenshots (strongly suggested)

Screenshot_2021-03-29_at_10.48.46

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Related to #227383 (closed)

Edited by Dmitry Gruzd

Merge request reports

Loading