fix: Unbound growth of wal files in case of checkpointing error

Entire-Checkpoint: 95a89a7127c5
This commit is contained in:
2026-03-28 06:26:21 +01:00
parent ac0a4cc39a
commit cc3d03bb5b
5 changed files with 56 additions and 9 deletions

View File

@@ -19,6 +19,16 @@ This is also the default.
### Bug fixes
- **WAL not rotated on partial checkpoint failure**: When binary checkpointing
failed for some hosts, WAL files for successfully checkpointed hosts were not
rotated and the checkpoint timestamp was not advanced. Partial successes now
correctly advance the checkpoint and rotate WAL files for completed hosts.
- **Unbounded WAL file growth**: If binary checkpointing consistently failed for
a host, its `current.wal` file grew without limit until disk exhaustion. A new
`max-wal-size` configuration option (in the `checkpoints` block) allows setting
a per-host WAL size cap in bytes. When exceeded, the WAL is force-rotated.
Defaults to 0 (unlimited) for backward compatibility.
- **Doubleranged filter fixes**: Range filters now correctly handle zero as a
boundary value. Improved validation and UI text for "more than equal" and
"less than equal" range selections.