Skip to contentSkip to conversation

Problem with the dump HTTP transport

DISCUSSION Marcel Holtmann 3 participants 5 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

Hi Junio,

after you released 1.0.0, I tried to pull it over HTTP, but it fails with the following output:

# cg-update
Fetching head...
Fetching objects...
Getting alternates list for http://www.kernel.org/pub/scm/git/git.git/
Getting pack list for http://www.kernel.org/pub/scm/git/git.git/
error: Unable to find c2f3bf071ee90b01f2d629921bb04c4f798f02fa under http://www.kernel.org/pub/scm/git/git.git/

Cannot obtain needed object c2f3bf071ee90b01f2d629921bb04c4f798f02fa while processing commit 0000000000000000000000000000000000000000.
cg-fetch: objects fetch failed

Both, git and cogito, are the latest versions from yesterday. So it seems every time you repack, you need to do something extra to keep the dump HTTP transport happy.

Regards

Marcel

#1 lore raw
Quoted 13 lines · --- Marcel Holtmann

Hi Junio,

after you released 1.0.0, I tried to pull it over HTTP, but it fails with the following output:

# cg-update
Fetching head...
Fetching objects...
Getting alternates list for http://www.kernel.org/pub/scm/git/git.git/
Getting pack list for http://www.kernel.org/pub/scm/git/git.git/
error: Unable to find c2f3bf071ee90b01f2d629921bb04c4f798f02fa under
http://www.kernel.org/pub/scm/git/git.git/
Quoted 7 lines

Cannot obtain needed object c2f3bf071ee90b01f2d629921bb04c4f798f02fa while processing commit 0000000000000000000000000000000000000000.
cg-fetch: objects fetch failed

Both, git and cogito, are the latest versions from yesterday. So it seems every time you repack, you need to do something extra to keep the dump HTTP transport happy.

I'm seeing the same thing:

$git pull
Fetching refs/heads/master from http://kernel.org/pub/scm/git/git.git using http Getting alternates list for http://kernel.org/pub/scm/git/git.git/
Getting pack list for http://kernel.org/pub/scm/git/git.git/
error: Unable to find c2f3bf071ee90b01f2d629921bb04c4f798f02fa under
http://kernel.org/pub/scm/git/git.git/

Cannot obtain needed object c2f3bf071ee90b01f2d629921bb04c4f798f02fa while processing commit 0000000000000000000000000000000000000000.

Luben

#2 lore raw
In reply to Marcel Holtmann
Quoted 7 lines · Marcel Holtmann

Cannot obtain needed object c2f3bf071ee90b01f2d629921bb04c4f798f02fa while processing commit 0000000000000000000000000000000000000000.
cg-fetch: objects fetch failed

Both, git and cogito, are the latest versions from yesterday. So it seems every time you repack, you need to do something extra to keep the dump HTTP transport happy.

The last sentence is correct and I do that (the magic word is git-update-server-info, and that is done as part of git-repack automatically), but it does not seem to apply here. It most likely is a mirroring delay. That c2f3... object is the commit at the tip of the master branch, and the repository is fully packed right now (except v1.0.0 tag object which is loose).

#3 lore raw

Hi Junio,

Quoted 8 lines
Quoted 7 lines

Cannot obtain needed object c2f3bf071ee90b01f2d629921bb04c4f798f02fa while processing commit 0000000000000000000000000000000000000000.
cg-fetch: objects fetch failed

Both, git and cogito, are the latest versions from yesterday. So it seems every time you repack, you need to do something extra to keep the dump HTTP transport happy.

Quoted 6 lines

The last sentence is correct and I do that (the magic word is git-update-server-info, and that is done as part of git-repack automatically), but it does not seem to apply here. It most likely is a mirroring delay. That c2f3... object is the commit at the tip of the master branch, and the repository is fully packed right now (except v1.0.0 tag object which is loose).

it is still not working. How long does it take on www.kernel.org to mirror it from the master.

Regards

Marcel

#4 lore raw
Quoted 2 lines · Marcel Holtmann

it is still not working. How long does it take on www.kernel.org to mirror it from the master.

Thanks for the help. I managed to reproduce it, so I can see where it breaks.