From: Derrick Stolee <derrickstolee@github.com>
To: Victoria Dye <vdye@github.com>, Taylor Blau <me@ttaylorr.com>,
git@vger.kernel.org
Cc: gitster@pobox.com
Subject: Re: [PATCH 0/3] repack: handle --keep-pack, --max-pack-size for geometric repacks
Date: Fri, 20 May 2022 16:05:29 -0400 [thread overview]
Message-ID: <b151f2bb-bdc7-e004-f1d4-e1a83c2b73db@github.com> (raw)
In-Reply-To: <5517f0f8-871c-a155-7d8c-d0d6086bb7d2@github.com>
On 5/20/2022 3:46 PM, Victoria Dye wrote:
> Taylor Blau wrote:
>> This series fixes two issues that Victoria and I noticed while working on an
>> unrelated issue yesterday.
>>
>> - The first patch comes from Victoria's earlier submission[1], and addresses
>> an issue where packs specified as kept via the `--keep-pack` option could
>> potentially be removed (without rewriting their objects) during a
>> `--geometric` repack.
>>
>> The first patch is Victoria's alone, with some minor fixups applied from my
>> review in [2]. It's included in this series since it's related, and avoids
>> any conflicts when merging.
>>
>
> I'm happy with the fixes you applied here and don't have anything else I'd
> like to add this patch.
>
>> - The latter two patches are mine, and address an issue where specifying a
>> `--max-pack-size` value during a `--geometric` repack could result in object
>> loss because of a false positive in our "did we write a pack with this
>> name?" check (which can occur when the list of packs we wrote isn't sorted).
>>
>> The first of these two patches demonstrates the issue (done in a separate
>> patch, since the scenario is quite involved), and the second patch fixes the
>> bug.
>>
>
> I was worried about the robustness of the test, but some deeper diving
> revealed that it should produce consistent results. Otherwise, the fix
> itself is a straightforward (albeit hard to find in the first place). These
> two patches look good to me!
>
>> Thanks in advance for your review.
I'm chiming in to say that I also read these patches and think they
are good. Couldn't find a way to improve them.
Thanks,
-Stolee
next prev parent reply other threads:[~2022-05-20 20:05 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-20 19:01 [PATCH 0/3] repack: handle --keep-pack, --max-pack-size for geometric repacks Taylor Blau
2022-05-20 19:01 ` [PATCH 1/3] repack: respect --keep-pack with geometric repack Taylor Blau
2022-05-20 19:01 ` [PATCH 2/3] t7703: demonstrate object corruption with pack.packSizeLimit Taylor Blau
2022-05-20 19:42 ` Victoria Dye
2022-05-20 23:22 ` Taylor Blau
2022-05-20 20:54 ` Junio C Hamano
2022-05-20 19:01 ` [PATCH 3/3] builtin/repack.c: ensure that `names` is sorted Taylor Blau
2022-05-20 19:46 ` [PATCH 0/3] repack: handle --keep-pack, --max-pack-size for geometric repacks Victoria Dye
2022-05-20 20:05 ` Derrick Stolee [this message]
2022-05-20 20:55 ` Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b151f2bb-bdc7-e004-f1d4-e1a83c2b73db@github.com \
--to=derrickstolee@github.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=me@ttaylorr.com \
--cc=vdye@github.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).