From: Xiubo Li Date: Wed, 7 Aug 2024 03:43:10 +0000 (+0800) Subject: qa: increase the http.maxRequestBuffer to 100MB X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=65fca49da43cdc3b1957a68e9ed21884da336c7e;p=ceph.git qa: increase the http.maxRequestBuffer to 100MB Set to change the largest ref negotiation request that git will handle during a fetch. The default value is 10MB and any fetch requiring a larger buffer will not succeed. This value should not normally need to be changed, but may be helpful if you are fetching from a repository with an extremely large number of refs. Fixes: https://tracker.ceph.com/issues/66991 Signed-off-by: Xiubo Li (cherry picked from commit 1d25782903e8b43fc97bc19ab3bf033196ec2122) --- diff --git a/qa/workunits/fs/snaps/snaptest-git-ceph.sh b/qa/workunits/fs/snaps/snaptest-git-ceph.sh index 2b38720c9a5..4104f3c65e7 100755 --- a/qa/workunits/fs/snaps/snaptest-git-ceph.sh +++ b/qa/workunits/fs/snaps/snaptest-git-ceph.sh @@ -4,7 +4,9 @@ set -e # increase the cache size sudo git config --global http.sslVerify false -sudo git config --global http.postBuffer 1048576000 +sudo git config --global http.postBuffer 1024MB # default is 1MB +sudo git config --global http.maxRequestBuffer 100M # default is 10MB +sudo git config --global core.compression 0 # try it again if the clone is slow and the second time retried=false