git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: maybe breakage with latest git-pull and http protocol

From
NHNick Hengeveld <nickh@reactrix.com>
Date
Oct 15, 2005, 21:21 UTC
Message-ID
<20051015212154.GB5509@reactrix.com>
In-Reply-To
<7v1x2mpx6m.fsf@assigned-by-dhcp.cox.net>
On Sat, Oct 15, 2005 at 09:22:25AM -0700, Junio C Hamano wrote:
> More interesting is this "error:" without error message.
> "Getting pack list" is a signal that we fell back to
> fetch_pack(), so this is coming from fetch_object().

I've seen that happen before fetch_pack used the active queue; open object requests in the active queue would not be processed while fetch_pack was transferring the pack, and in some cases a server had timed out a connection from one of these requests by the time the active queue started processing again. I worked around this at one point by detecting an empty server response and retrying the request.

Changing all requests to run through the active queue seemed to fix the problem, but it's possible that something is still holding up processing long enough to cause a server timeout.

> BTW, I do not think this is related to git.git repository
> problem, but I wonder why we do not do fetch_object() against
> each altbase in http-fetch.c::fetch(); nobody said you cannot
> borrow unpacked object from your neighbour.

It doesn't look like there are any alternates defined in the git.git repository. I've seen alternates used during testing when I deliberately removed objects and packs from the primary repository.

-- 
For a successful technology, reality must take precedence over public
relations, for nature cannot be fooled.
Previous: Nick HengeveldNext: Junio C Hamano
Message 12 of 17 in “maybe breakage with latest git-pull and http protocol”
  1. Randal L. SchwartzOct 13, 2005
  2. Junio C HamanoOct 13, 2005
  3. Randal L. SchwartzOct 14, 2005
  4. Junio C HamanoOct 14, 2005
  5. Randal L. SchwartzOct 14, 2005
  6. Daniel BarkalowOct 14, 2005
  7. Randal L. SchwartzOct 15, 2005
  8. Junio C HamanoOct 15, 2005
  9. Junio C HamanoOct 15, 2005
  10. Daniel BarkalowOct 15, 2005
  11. Nick HengeveldOct 15, 2005
  12. Nick HengeveldOct 15, 2005
  13. Junio C HamanoOct 15, 2005
  14. Junio C HamanoOct 15, 2005
  15. Nick HengeveldOct 15, 2005
  16. Randal L. SchwartzOct 15, 2005
  17. Nick HengeveldOct 20, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.