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

Re: [PATCH 0/3] Close commit-graph before calling 'gc'

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
May 20, 2019, 10:13 UTC
Message-ID
<nycvar.QRO.7.76.6.1905201204390.46@tvgsbejvaqbjf.bet>
In-Reply-To
<xmqqk1en19pp.fsf@gitster-ct.c.googlers.com>
Hi Junio,
On Sun, 19 May 2019, Junio C Hamano wrote:
Show 9 quoted lines
> "Derrick Stolee via GitGitGadget" <gitgitgadget@gmail.com> writes:
>
> > This series adds close_commit_graph() to close_all_packs() and then renames
> > close_all_packs() to close_object_store(). This name is more descriptive of
> > its larger purpose.
>
> OK.  Somebody needs to go though all the existing callers of
> close_all_packs() to see if the above claim is true (unless you
> haven't done so, that is), but I really like the general direction.
I tried to provide that in my review of 3/3.

Please note that these patches are most relevant for Windows, where renames and deletes fail when any process has an open handle to the file(s) in question.

Ciao, Dscho

P.S.: Now that I think of it, if we close the object store, that's probably also a time when we want to release the loose object cache.

Previous: Junio C HamanoNext: Derrick Stolee
Message 9 of 11 in “Close commit-graph before calling 'gc'”
  1. 0/3 Close commit-graph before calling 'gc'Derrick Stolee via GitGitGadget, May 17, 2019
  2. 1/3 commit-graph: use raw_object_store when closingDerrick Stolee via GitGitGadget, May 17, 2019
  3. 2/3 packfile: close commit-graph in close_all_packsDerrick Stolee via GitGitGadget, May 17, 2019
  4. 3/3 packfile: close_all_packs to close_object_storeDerrick Stolee via GitGitGadget, May 17, 2019
  5. Johannes SchindelinMay 20, 2019
  6. Derrick StoleeMay 20, 2019
  7. Junio C HamanoMay 28, 2019
  8. Junio C HamanoMay 19, 2019
  9. Johannes SchindelinMay 20, 2019
  10. Derrick StoleeMay 20, 2019
  11. Johannes SchindelinMay 20, 2019

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.