Skip to content

pr-1683/jltobler/jt/reftable-geometric-compaction-v5

Hello again,

This is the fifth version my patch series that refactors the reftable
compaction strategy to instead follow a geometric sequence. Changes compared
to v4:

 * To fix some failing tests and conflicts, this patch series now depends on
   the ps/pack-refs-auto series which is currently in next.
 * Lifted the GIT_TEST_REFTABLE_AUTOCOMPACTION env out of the reftable
   library and into the reftable backend code.

Thanks for taking a look!

-Justin

Justin Tobler (3):
  reftable/stack: allow disabling of auto-compaction
  reftable/stack: add env to disable autocompaction
  reftable/stack: use geometric table compaction

 refs/reftable-backend.c    |   4 ++
 reftable/reftable-writer.h |   3 +
 reftable/stack.c           | 125 +++++++++++++++++++------------------
 reftable/stack.h           |   4 --
 reftable/stack_test.c      |  77 ++++++-----------------
 t/t0610-reftable-basics.sh |  71 ++++++++++++++++-----
 6 files changed, 146 insertions(+), 138 deletions(-)

base-commit: 4b32163adf4863c6df3bb6b43540fa2ca3494e28

Submitted-As: https://lore.kernel.org/git/pull.1683.v5.git.1712255369.gitgitgadget@gmail.com
In-Reply-To: https://lore.kernel.org/git/pull.1683.git.1709669025722.gitgitgadget@gmail.com
In-Reply-To: https://lore.kernel.org/git/pull.1683.v2.git.1711060819.gitgitgadget@gmail.com
In-Reply-To: https://lore.kernel.org/git/pull.1683.v3.git.1711685809.gitgitgadget@gmail.com
In-Reply-To: https://lore.kernel.org/git/pull.1683.v4.git.1712103636.gitgitgadget@gmail.com
Assets 2