Skip to content

Draft: Resolve "Groups Merge Request List API seems to be parsing all Merge Requests, leading to notable performance inefficencies"

What does this MR do and why?

The aim of this change is to reduce the default cardinality of the groups api query

Original query:

https://console.postgres.ai/gitlab/gitlab-production-tunnel-pg12/sessions/13343/commands/46838

With new default:

https://console.postgres.ai/gitlab/gitlab-production-tunnel-pg12/sessions/13339/commands/46824

To Test:

Navigate to: http://localhost:3000/api/v4/groups/GROUP_ID/merge_requests

On Master you should get a range of state's, and on this branch you should get only open.

Related to #377515

Edited by Marc Shaw

Merge request reports