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

Re: [ANNOUNCE] Git v2.29.0-rc0

From
Jeff King <peff@peff.net>
Date
Oct 7, 2020, 15:39 UTC
Message-ID
<20201007153947.GA181281@coredump.intra.peff.net>
In-Reply-To
<xmqqa6x070tn.fsf@gitster.c.googlers.com>
On Mon, Oct 05, 2020 at 03:41:24PM -0700, Junio C Hamano wrote:
>  * "git index-pack" learned to resolve deltified objects with greater
>    parallelism.

I noticed a small regression in v2.29 today: we no longer seem to show progress during the delta resolution phase of index-pack.

E.g., try this in a clone of git.git (or really any decent-sized repo where the delta resolution takes a few seconds):

  # simulate the pack we'd get from a clone or big fetch
  git pack-objects --all --stdout >foo.pack </dev/null
  # now simulate the index-pack on the receiving side
  rm -rf repo
  git init repo &&
  (cd repo && git index-pack -v --stdin <../foo.pack)
You should see the:
  Receiving objects: 100% (300970/300970), 74.39 MiB | 57.93 MiB/s, done.
progress. We used to follow that with:
  Resolving deltas: 100% (249340/249340), done.
but now you get nothing for several seconds while we resolve deltas.

The problem bisects to f08cbf60fe (index-pack: make quantum of work smaller, 2020-09-08) at the tip of jt/threaded-index-pack. I haven't dug further yet.

-Peff
Previous: Ævar Arnfjörð BjarmasonNext: Jeff King
Message 7 of 21 in “[ANNOUNCE] Git v2.29.0-rc0”
  1. Junio C HamanoOct 5, 2020
  2. Bryan TurnerOct 5, 2020
  3. Randall S. BeckerOct 5, 2020
  4. Martin ÅgrenOct 6, 2020
  5. Junio C HamanoOct 6, 2020
  6. Ævar Arnfjörð BjarmasonOct 7, 2020
  7. Jeff KingOct 7, 2020
  8. Jeff KingOct 7, 2020
  9. Junio C HamanoOct 7, 2020
  10. 0/3 jt/threaded-inex-pack leftoversJeff King, Oct 7, 2020
  11. 1/3 index-pack: restore "resolving deltas" progress meterJeff King, Oct 7, 2020
  12. Junio C HamanoOct 7, 2020
  13. 2/3 index-pack: drop type_cas mutexJeff King, Oct 7, 2020
  14. Jonathan TanOct 7, 2020
  15. 3/3 index-pack: stop mentioning find_unresolved_deltas()Jeff King, Oct 7, 2020
  16. Jonathan TanOct 7, 2020
  17. Jeff KingOct 7, 2020
  18. index-pack: make get_base_data() comment clearerJonathan Tan, Oct 7, 2020
  19. Junio C HamanoOct 7, 2020
  20. Philippe BlainOct 7, 2020
  21. Randall S. BeckerOct 9, 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.