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

Re: Fetching 24 Linux commits = 1.2 GiB

From
Jeff King <peff@peff.net>
Date
Apr 15, 2020, 15:16 UTC
Message-ID
<20200415151652.GB2464307@coredump.intra.peff.net>
In-Reply-To
<xmqq1roo947y.fsf@gitster.c.googlers.com>
On Wed, Apr 15, 2020 at 08:08:17AM -0700, Junio C Hamano wrote:
> Do these (and I think we saw other reports) make us rethink the
> status of protocol v2 as the default?  Are all of these fallouts 
> we saw so far easy-to-fix bugs, or are there more fundamental issues
> in the v2 protocol design?
I don't think we know yet.

I agree with Konstantin that the v2 switch is the likely culprit for these issues, but without having been able to reproduce, I don't think we know exactly what the problem is yet. It could be a protocol design issue, or it could be a minor implementation bug.

Note that there is one other issue that's turned up, that I discussed here:

  https://lore.kernel.org/git/20200328154936.GA1217052@coredump.intra.peff.net/
That's more fundamental to the v2 design, but:
  - it only happens when one side drops the connection, so it's not
    impacting normal operation (it does turn an error case into a hang,
    though, which can be rather annoying)
  - it's not in the network protocol itself, but rather the protocol
    between Git and the remote helper. So we could solve it purely as a
    client-side fix.
-Peff
Previous: Junio C HamanoNext: Jonathan Nieder
Message 10 of 20 in “Fetching 24 Linux commits = 1.2 GiB”
  1. Jiri SlabyApr 15, 2020
  2. Andreas SchwabApr 15, 2020
  3. Jiri SlabyApr 15, 2020
  4. Andreas SchwabApr 15, 2020
  5. Jiri SlabyApr 15, 2020
  6. Andreas SchwabApr 15, 2020
  7. Kevin DaudtApr 15, 2020
  8. Konstantin RyabitsevApr 15, 2020
  9. Junio C HamanoApr 15, 2020
  10. Jeff KingApr 15, 2020
  11. Jonathan NiederApr 15, 2020
  12. Andreas SchwabMay 20, 2020
  13. Andreas SchwabMay 20, 2020
  14. Michal SuchánekMay 20, 2020
  15. Andreas SchwabMay 20, 2020
  16. Jeff KingMay 20, 2020
  17. Lukas WunnerMay 25, 2020
  18. Junio C HamanoMay 25, 2020
  19. Jiri SlabyApr 16, 2020
  20. Martin WilckApr 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.