Draft: Add a FetchRemoteWithStatus RPC
Repository mirroring is interested in the list of new/updated tags; having Gitaly report that directly will allow us to eliminate 1-2 FetchAllTags
RPC calls per repository mirroring operation, and resolves a race condition with the current approach as well.
This MR adds RepositoryService.FetchRemoteWithStatus
. It acts like RepositoryService.FetchRemote
, but streams the list of updated refs, along with the type of update, as the response.
Some more context in gitlab#118683 (comment 439087052)
Part of gitlab#118683 (closed)
Associated GitLab MR: gitlab!49140 (closed)
Edited by Nick Thomas