Files
CrazyMax 55ef0f324d db: require a minimum reclaimable share for compaction
A byte threshold alone can schedule large database copies that reclaim
only a small fraction of the file. Require a configurable 10% floor for
automatic and manual compaction, and use 30% as the percentage trigger.

Preserve an explicitly configured percentage below 10% by lowering the
default floor to match unless the floor was set separately.

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-10-06 14:09:10 +02:00
..