Skip to content

fix(pool): warn when archive is enabled with checkpoint TTL off#4

Merged
CMGS merged 1 commit into
mainfrom
fix/archive-ttl-warn
Jul 9, 2026
Merged

fix(pool): warn when archive is enabled with checkpoint TTL off#4
CMGS merged 1 commit into
mainfrom
fix/archive-ttl-warn

Conversation

@CMGS

@CMGS CMGS commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Archive relies on the checkpoint TTL to reclaim a checkpoint whose physical delete failed (the claim is already gone, so the ck is unpinned and only the TTL sweep can remove it). With checkpoint_ttl_hours=0 that rare orphan is never reclaimed — emit a startup warning so the misconfiguration is visible.

One-line change in NewManager; no behaviour change beyond the log line.

Archive relies on the checkpoint TTL to reclaim a checkpoint whose physical
delete failed (the claim is gone, so the ck is unpinned). With
checkpoint_ttl_hours=0 that orphan is never reclaimed; warn at startup.
@CMGS CMGS merged commit c12c943 into main Jul 9, 2026
1 check passed
@CMGS CMGS deleted the fix/archive-ttl-warn branch July 9, 2026 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant