Geo: Ensure git-lfs operations use correct instance when targeting the secondary

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

  • Close this issue

When performing git-lfs operations at a Geo secondary, the following table needs to be adhered to:

Operation Expected instance Example command Example output
download primary.geo ssh git@secondary.geo git-lfs-authenticate namespace/repo.git download {"header":{"Authorization":"Basic <token>"},"href":"http://secondary.geo/namespace/root.git/info/lfs","expires_in":1800}
upload secondary.geo ssh git@secondary.geo git-lfs-authenticate namespace/repo.git upload {"header":{"Authorization":"Basic <token>"},"href":"http://primary.geo/namespace/root.git/info/lfs","expires_in":1800}

We need to add some QA tests to validate this.

cc @rnienaber, @fzimmer, @jennielouie

Edited Aug 28, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading