threads / discuss / 2894

Problem with the dump HTTP transport

Subject: Problem with the dump HTTP transport

## tl;dr

5 messages between Dec 21, 2005 and Dec 21, 2005.

replies: 4people: 3as markdown or json

Marcel Holtmann· Dec 21, 2005, 12:02 UTC · lore
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
Luben Tuikov· Dec 21, 2005, 16:26 UTC · re: Marcel Holtmann · lore

Re: Problem with the dump HTTP transport

--- Marcel Holtmann <marcel@holtmann.org> wrote:
Show 20 quoted lines
> 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.
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
Junio C Hamano· Dec 21, 2005, 17:59 UTC · re: Marcel Holtmann · lore

Re: Problem with the dump HTTP transport

Marcel Holtmann <marcel@holtmann.org> writes:
Show 7 quoted 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.

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).

Marcel Holtmann· Dec 21, 2005, 18:43 UTC · re: Junio C Hamano · lore

Re: Problem with the dump HTTP transport

Hi Junio,
Show 14 quoted 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.
> 
> 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
Junio C Hamano· Dec 21, 2005, 19:14 UTC · re: Marcel Holtmann · lore

Re: Problem with the dump HTTP transport

Marcel Holtmann <marcel@holtmann.org> writes:
> 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.

← back to recent threads