Geo: Secondary is proxying Git pulls unnecessarily

Problem

Pulls against a secondary Geo site are being proxied to the primary even when the secondary site is up-to-date.

This can be a significant problem for those who are using Geo secondaries to:

  • offload heavy read activity.
  • cope with low bandwidth between sites

Possible solution

Project replication is handled by ProjectRepositoryRegistry and SSF since 16.3 !125927 (merged).

But our "repository out of date?" logic checks the legacy ProjectRegistry record:

Edited by Michael Kozono