Possible Gitaly N+1 Job Failed #166090394
Job #166090394 failed for ac7dfe9c:
rspec ./spec/features/merge_request/user_creates_merge_request_spec.rb:79
rspec ./ee/spec/features/merge_request/user_sets_approvers_spec.rb:48
1.1) Failure/Error: raise TooManyInvocationsError.new(call_site, actual_call_count, max_call_count, max_stacks)
ActionView::Template::Error:
GitalyClient#call called 34 times from single request. Potential n+1?
The following call site called into Gitaly 1 times:
lib/gitlab/gitaly_client.rb:161:in `call'
lib/gitlab/gitaly_client/repository_service.rb:19:in `exists?'
lib/gitlab/git/repository.rb:117:in `exists?'
app/models/repository.rb:546:in `exists?'
lib/gitlab/repository_cache_adapter.rb:41:in `block (2 levels) in cache_method_asymmetrically'
lib/gitlab/repository_cache.rb:43:in `fetch_without_caching_false'
lib/gitlab/repository_cache_adapter.rb:114:in `block (2 levels) in cache_method_output_asymmetrically'
lib/gitlab/safe_request_store.rb:12:in `fetch'
lib/gitlab/repository_cache.rb:24:in `fetch'
also:
Edited by Luke Bennett