GET /api/:version/repos/:namespace/:project/branches causes many Gitaly errors: Gitlab::Git::Repository::NoRepository
https://sentry.gitlab.net/gitlab/gitlabcom/issues/2606264/?referrer=gitlab_plugin
GRPC::NotFound: 5:GetRepoPath: not a git repository: "/var/opt/gitlab/git-data/repositories/@hashed/[redacted].git".
grpc/generic/active_call.rb:29:in `check_status'
fail GRPC::BadStatus.new_status_exception(
grpc/generic/active_call.rb:180:in `attach_status_results_and_complete_call'
recv_status_batch_result.check_status
grpc/generic/active_call.rb:169:in `receive_and_check_status'
attach_status_results_and_complete_call(batch_result)
grpc/generic/active_call.rb:337:in `each_remote_read_then_finish'
receive_and_check_status
Gitlab::Git::Repository::NoRepository: 5:GetRepoPath: not a git repository: "/var/opt/gitlab/git-data/repositories/@hashed/[redacted].git".
gitlab/git/wraps_gitaly_errors.rb:9:in `rescue in wrapped_gitaly_errors'
raise Gitlab::Git::Repository::NoRepository, e
gitlab/git/wraps_gitaly_errors.rb:6:in `wrapped_gitaly_errors'
def wrapped_gitaly_errors(&block)
gitlab/git/repository.rb:131:in `local_branches'
wrapped_gitaly_errors do
repository.rb:770:in `local_branches'
@local_branches ||= raw_repository.local_branches
gitlab/metrics/instrumentation.rb:160:in `block in branches'
.measure { super }
...
(149 additional frame(s) were not displayed)
Edited by Luke Duncalfe