Intermittent error creating projects Gitlab::GitAccess::ProjectCreationError: Could not create project: PG::QueryCanceled: ERROR: canceling statement due to statement timeout
https://sentry.gitlab.net/gitlab/gitlabcom/issues/512802/
Gitlab::GitAccess::ProjectCreationError: Could not create project: PG::QueryCanceled: ERROR: canceling statement due to statement timeout
CONTEXT: while rechecking updated tuple (1,9) in relation "site_statistics"
: UPDATE "site_statistics" SET "repositories_count" = "repositories_count"+1
gitlab/git_access.rb:220:in `ensure_project_on_push!'
raise ProjectCreationError, "Could not create project: #{project.errors.full_messages.join(', ')}"
gitlab/metrics/instrumentation.rb:159:in `block in ensure_project_on_push!'
.measure { super }
gitlab/metrics/method_call.rb:34:in `measure'
retval = yield
gitlab/metrics/instrumentation.rb:159:in `ensure_project_on_push!'
.measure { super }
gitlab/git_access.rb:73:in `check'
ensure_project_on_push!(cmd, changes)
...
(124 additional frame(s) were not displayed)
Gitlab::GitAccess::ProjectCreationError: Could not create project: PG::QueryCanceled: ERROR: canceling statement due to statement timeout
CONTEXT: while rechecking updated tuple (1,9) in relation "site_statistics"
: UPDATE "site_statistics" SET "repositories_count" = "repositories_count"+1
ZD (internal):
/cc @stanhu