Add Gitaly-based search for branches
Problem
The search for branches in implemented in the Rails application. That means that we have to request all branches from the Gitaly and then select matching branches from the result. It affect the performance of the Branches API.
Related issue for tags: Add Gitaly-based search for tags (#372051)
Solution
- Extend Gitaly code to support search patterns from Rails
- Send search parameter to the Gitaly instead of performing the search on Rails side.
Availability and Testing
Regression testing, please make sure e2e:package-and-test
job is passing.
Edited by Jay McCure