SearchFilesByContent fails when search results exceed gRPC maximum size
Every time I attempt to perform a search within a repo underneath my group; my team receives a 500 error.
ZD: https://gitlab.zendesk.com/agent/tickets/101511 (internal)
https://sentry.gitlap.com/gitlab/gitlabcom/issues/476965/
GRPC::Core::CallError: call#run_batch failed somehow
grpc/generic/active_call.rb:253:in `run_batch'
batch_result = @call.run_batch(ops)
grpc/generic/active_call.rb:253:in `remote_read'
batch_result = @call.run_batch(ops)
grpc/generic/active_call.rb:326:in `block in each_remote_read_then_finish'
resp = remote_read
grpc/generic/active_call.rb:325:in `loop'
loop do
grpc/generic/active_call.rb:325:in `each_remote_read_then_finish'
loop do
...
(146 additional frame(s) were not displayed)
GRPC::Core::CallError: call#run_batch failed somehow
Edited by Stan Hu