Proxied git clone fails with depth option
What does this MR do and why?
This MR lists a limitation related to git clone requests that include the option --depth
that get proxied to the primary hangs indefinitely and does not complete.
Related to #391980
Screenshots or screen recordings
How to set up and validate locally
- Setup up a primary and secondary 1K geo site.
- Create a repository with a large file
- Click resync all on the secondary site and immediate initiate a clone from the secondary site using the depth option e.g. 'git clone --depth 1 git@35.246.239.186:root/clone-depth-test.git'
- Observe that the clone does not complete and hangs.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.