Project failed to be transferred due to PG::QueryCanceled: ERROR: canceling statement due to statement timeout
Summary
When trying to transfer https://gitlab.com/gitlab-org/quality/looping-pipeline to https://gitlab.com/gitlab-org/quality/ci, the request fails with 500 error.
ActiveRecord::QueryCanceledProjectsController#transfer error
PG::QueryCanceled: ERROR: canceling statement due to statement timeout
Steps to reproduce
- Open https://gitlab.com/gitlab-org/quality/looping-pipeline
- Transfer it to
gitlab-org/quality/ci
Example Project
- https://gitlab.com/gitlab-org/quality/looping-pipeline
- https://gitlab.com/gitlab-org/quality/test_transef_private - test project
What is the current bug behavior?
500 error on transferring the project.
What is the expected correct behavior?
Project is transferred.
Relevant logs and/or screenshots
- Kibana: https://log.gprd.gitlab.net/goto/46798d008ff60ba728b400944ce438c9
- Sentry: https://sentry.gitlab.net/gitlab/gitlabcom/issues/1705300/events/32128137/
Output of checks
This bug happens on GitLab.com
Possible fixes
(If you can, link to the line of code that might be responsible for the problem)