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

Re: Bug in 2.26: git-fetch fetching too many objects?

From
Jeff King <peff@peff.net>
Date
Apr 21, 2020, 21:11 UTC
Message-ID
<20200421211133.GB3510074@coredump.intra.peff.net>
In-Reply-To
<20200421193611.GA103469@google.com>
On Tue, Apr 21, 2020 at 12:36:11PM -0700, Jonathan Nieder wrote:
Show 9 quoted lines
> > This is at least the fourth time we hear that v2 may not be ready
> > for the real-world use.  Perhaps we should revert the default flip
> > on the maintenance track while we hunt for bugs and improve the
> > protocol support?
> 
> That feels to me like an overreaction, since these are all reports of
> the same issue that we have a fix to.  Shouldn't we just flip the
> default for fetch.negotiationAlgorithm to skipping?  If we revert to
> buy time, what would we do with that time?

Do we know that fetch.negotiationAlgorithm helps? I thought we didn't yet know the actual cause of the bug. If that is the culprit, and people would have seen this under v0 using stateless-http, why didn't we get more reports of it then? Surely some people used http over git://?

I do agree that flipping the default away from v2 may be premature, especially if we don't have a plan for moving forward. It sounds like swapping out the negotiationAlgorithm would at least be likely to generate more data, even if it is only a guess.

-Peff
Previous: Junio C Hamano
Message 8 of 8 in “Bug in 2.26: git-fetch fetching too many objects?”
  1. Dixit, AshutoshApr 20, 2020
  2. Konstantin RyabitsevApr 20, 2020
  3. Dixit, AshutoshApr 21, 2020
  4. Jonathan NiederApr 21, 2020
  5. Junio C HamanoApr 21, 2020
  6. Jonathan NiederApr 21, 2020
  7. Junio C HamanoApr 21, 2020
  8. Jeff KingApr 21, 2020

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.