Skip to content

Add pass-through PackObjectsHook RPC

Jacob Vosmaer requested to merge jv-pack-objects-rpc into master

gitlab-com/gl-infra/scalability#807 (closed)

This adds a pass-through implementation of the PackObjectsHook RPC. This RPC will gives insight into:

  1. How often PostUploadPack and SSHUploadPack together run git-pack-objects
  2. How many different input values there are (future cache keys)
  3. How large the responses are

The idea is that in a future merge request we add caching to PackObjectsHook.

No changelog entry because all this code is still behind a feature flag: upload_pack_gitaly_hooks.

Edited by Jacob Vosmaer

Merge request reports

Loading