500 Error loading /admin/groups: ActionView::Template::Error: PG::QueryCanceled: ERROR: canceling statement due to statement timeout

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

https://sentry.gitlab.net/gitlab/gitlabcom/issues/968828/

PG::QueryCanceled: ERROR:  canceling statement due to statement timeout

  active_record/connection_adapters/postgresql_adapter.rb:611:in `async_exec_params'
    @connection.exec_params(sql, type_casted_binds)
  active_record/connection_adapters/postgresql_adapter.rb:611: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
...
(182 additional frame(s) were not displayed)

ActiveRecord::QueryCanceled: PG::QueryCanceled: ERROR:  canceling statement due to statement timeout
: SELECT COUNT(*) AS count_all, namespaces.id AS namespaces_id FROM "namespaces" LEFT JOIN project_statistics ps ON ps.namespace_id = namespaces.id WHERE "namespaces"."type" IN ('Group') GROUP BY namespaces.id
ActionView::Template::Error: PG::QueryCanceled: ERROR:  canceling statement due to statement timeout
: SELECT COUNT(*) AS count_all, namespaces.id AS namespaces_id FROM "namespaces" LEFT JOIN project_statistics ps ON ps.namespace_id = namespaces.id WHERE "namespaces"."type" IN ('Group') GROUP BY namespaces.id

ActionView::Template::Error: PG::QueryCanceled: ERROR:  canceling statement due to statement timeout
: SELECT COUNT(*) AS count_all, namespaces.id AS namespaces_id FROM "namespaces" LEFT JOIN project_statistics ps ON ps.namespace_id = namespaces.id WHERE "namespaces"."type" IN ('Group') GROUP BY namespaces.id
Edited by 🤖 GitLab Bot 🤖