Skip to content

Proxied git clone fails with depth option

Sampath Ranasinghe requested to merge sranasinghe-master-patch-2d38 into master

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

  1. Setup up a primary and secondary 1K geo site.
  2. Create a repository with a large file
  3. 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'
  4. 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.

Merge request reports