[Azure Devops Repos] clone failure as packs use REF_DELTA objects: fix with git-style delta resolution #2819
Closed
Sebastian Thiel (Byron)
announced in
Shortcomings
Replies: 1 comment
|
Also fixed by now - in-pack objects can now be resolved lazily. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Current behavior 😯
It seems that Azure Devops (at least over SSH) has some form of pagination when reading packs. Given the code below, fetching a trivial repo (one file, one commit) will work correctly produce the following output:
When fed the URL for a a non-trivial repo, output will look like this. Note the suspicious 8192 on read pack progress. I've tested a few different repos and they all get 8192 "pack steps".
At this point it hangs. Eventually, the timeout occurs and the following error is raised:
Tho I suppose this is just a consequence of us not having received the object in question.
I'll try to dig deeper tomorrow.
Expected behavior 🤔
If it works for small Azure Devops repos, surely it should work for large :) The same code has no problem fetching a GitHub repo of non-trivial size.
Steps to reproduce 🕹
Code to reproduce the problem:
Originally tracked by Bittrance (@bittrance) in issue #1025.
All reactions