Pull ref from Gitaly if not present in Redis

What does this MR do and why?

  • Call Gitaly RefExists RPC when there is a branch ref not found in Redis cache. This will work as a fallback to validate the latest repository state.
  • Track when we trigger the fallback to investigate why the cache is stale in some scenarios.

References

How to set up and validate locally

It's not possible (or very difficult) to replicate the stale cache locally. We should rely on the Gitaly fallback and their tests.

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #348565 (closed)

Edited by Javiera Tapia

Merge request reports

Loading