Re: [PATCH 5/8] reftable/stack: perform auto-compaction with transactional interface
- From
Patrick Steinhardt <ps@pks.im>
- Date
- Dec 21, 2023, 10:45 UTC
- Message-ID
- <ZYQXP6xPiZbM2aOf@framework>
- In-Reply-To
- <CAOw_e7Yfdt_Wqm-9XDJknaN-iH=haP0R4K-S4c_E3EFDzvG5aA@mail.gmail.com>
On Thu, Dec 21, 2023 at 11:29:52AM +0100, Han-Wen Nienhuys wrote:
Show 12 quoted lines
> On Tue, Nov 21, 2023 at 8:07 AM Patrick Steinhardt <ps@pks.im> wrote: > > Whenever updating references or reflog entries in the reftable stack, we > > need to add a new table to the stack, thus growing the stack's length by > .. > > bug is correctly identified, but can't the fix remove the > > if (!st->disable_auto_compact) > return reftable_stack_auto_compact(st); > > fragment from reftable_stack_add? reftable_addition_commit eventually > calls reftable_addition_commit.
"calls reftable_stack_add" you probably mean here. But yes, you're right. As this patch series has already been merged to `next` I can roll this cleanup into my second patch series that addresses issues with the reftable library [1]. Does that work for you?
[1]: http://public-inbox.org/git/xmqqr0jgsn9g.fsf@gitster.g/T/#t
Patrick