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

Re: [PATCH] handle concurrent pruning of packed objects

From
Jeff King <peff@peff.net>
Date
Jun 2, 2006, 16:04 UTC
Message-ID
<20060602160456.GA8957@coredump.intra.peff.net>
In-Reply-To
<7vwtbzblkf.fsf@assigned-by-dhcp.cox.net>
On Fri, Jun 02, 2006 at 08:53:52AM -0700, Junio C Hamano wrote:
> I am uncertain about not re-examining the packs it originally
> thought it had.  By prepending the new ones (and the same old
> surviving ones) at the beginning you are effectively hiding the
> old packs, which sounds reasonable in the usual case.
That shouldn't make a difference for correctness, even if the old packs
are still there. If you have an object in two packs, then it doesn't
matter which one you pull it from. The main impacts I can think of are:
  1. The old pack may already be mapped, and it would be more efficient
     to use it. However, the new pack will be mapped on first use, so it
     will be used from then on.
  2. The pack list can grow without bound. However, for this to matter,
     you'd have to do many prunes during the course of a single git
     command.
> Also I suspect this might have funny interaction with the case
> where there are hand-added packs (see how verify-pack does it).
> We do not silently "fix" missing object problems we discover
> there.
I will take a look at this.
-Peff
Previous: Junio C HamanoNext: Junio C Hamano
Message 4 of 7 in “handle concurrent pruning of packed objects”
  1. handle concurrent pruning of packed objectsJeff King, Jun 2, 2006
  2. Junio C HamanoJun 2, 2006
  3. Junio C HamanoJun 2, 2006
  4. Jeff KingJun 2, 2006
  5. Junio C HamanoJun 2, 2006
  6. sha1_file: avoid re-preparing duplicate packsJeff King, Jun 2, 2006
  7. Linus TorvaldsJun 2, 2006

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.