Skip to content

Resolve "Unable to view projects pending deletion from subgroup"

What does this MR do and why?

Related to #398694 (closed)

History

We have tried to solve this problem recently in !119292 (diffs), but it had to be reverted due to an incident in #409825 (closed).

I have tried to elaborate the root cause of the incident (a query timeout) in !119292 (comment 1379089701), TL;DR is that we were querying projects across all paid groups and subgroups on gitlab.com database, which was bound to timeout.

With this MR, we are trying to limit the number of groups being queried, which is showing promising results in the query plan.

Query plans:

Using gitlab-qa user:

When fixed, this would solve the bug as described in the description of !119292 (merged)

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

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 #398694 (closed)

Edited by Manoj M J

Merge request reports

Loading