500 when changing group paths
# Summary Support has seen a few instances where renaming or changing a group name can fail with a 500 error. The below sentry entry is from a customer account. This does not seem to be affecting every group or subgroup, as I was able to test with another group and change it successfully without issue. ## How to replicate / Example project 1. Go to https://gitlab.com/groups/gitlab-gold/rabbit-hole-1/-/edit > Advanced > Change group path 2. Change the path from rabbit-hole-1 to rabbit-hole-2 or any other name. 3. Note that is fails with a 500 error ## Logs and errors - https://log.gprd.gitlab.net/goto/6da4a0df78cbb4d2708e09ba740e40bc - https://log.gprd.gitlab.net/goto/9262dd3c1e4bc739c4631d921b58e215 Sentry Issue: [GITLABCOM-F7TJ](https://sentry.gitlab.net/gitlab/gitlabcom/issues/1529370/?referrer=gitlab_integration) ``` PG::QueryCanceled: ERROR: canceling statement due to statement timeout active_record/connection_adapters/postgresql_adapter.rb:675:in `exec_params' @connection.exec_params(sql, type_casted_binds) active_record/connection_adapters/postgresql_adapter.rb:675:in `block (2 levels) in exec_no_cache' @connection.exec_params(sql, type_casted_binds) active_support/dependencies/interlock.rb:48:in `block in permit_concurrent_loads' yield active_support/concurrency/share_lock.rb:187:in `yield_shares' yield active_support/dependencies/interlock.rb:47:in `permit_concurrent_loads' @lock.yield_shares(compatible: [:load]) do ... (177 additional frame(s) were not displayed) ActiveRecord::QueryCanceled: PG::QueryCanceled: ERROR: canceling statement due to statement timeout ActiveRecord::QueryCanceled: PG::QueryCanceled: ERROR: canceling statement due to statement timeout ``` ## ZD Tickets (Internal) - https://gitlab.zendesk.com/agent/tickets/159232 - https://gitlab.zendesk.com/agent/tickets/159184 (??? - Different error) - https://gitlab.zendesk.com/agent/tickets/159364 (succeeded on retry) - https://gitlab.zendesk.com/agent/tickets/159777 - https://gitlab.zendesk.com/agent/tickets/160175 - https://gitlab.zendesk.com/agent/tickets/160254
issue