!103483 (merged) for 15.5.
See gitlab-com/gl-infra/scalability#1991 and https://gitlab.com/gitlab-org/release/tasks/-/issues/4522.