Repository navigation
system: the pgBackRest repository's versioning, WAL valve and retention - #146
Merged
Merged
Conversation
…on, read against the 2.60 and S3 docs Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
system/backups.md, the findings on the database's pgBackRest repository: bucket versioning, the WAL valve (archive-push-queue-max) with the ruling owed to Ben, and retention stated three ways. Briefpgbackrest-repotask 1 (queue itempgbackrest-repo, Ben's go 2026-10-27 18:47 UTC).What and why
No backup page existed in
system/(grep for pgBackRest found only foundation.md's backups paragraph), so the findings are a page of their own, linked from that paragraph and listed insystem/index.mdand its toctree as DRAFT (one ruling pending).Files:
system/backups.md(new),system/index.md(row and toctree),system/foundation.md(one link).Findings, in short
Dayson the rules already cleans lone markers.archive-asyncoff (2.60 command reference qualifies only the async details; the 2.59.0 release note names the synchronous queue). Past 64 GiB it reports success, drops the segment and warns in the PostgreSQL log.rapid-db-archiver-failingpages at least 50 min before any drop, then returns to OK once drops start (inference from the metric's definition, not observed);rapid-db-wal-40pctstays in ALARM with no action. Recommendation: keep the valve, add a full-backup step to the WAL-full runbook and make the drop visible. Ben's ruling owed; nothing changed.000000010000000400000090archived 2026-10-27 18:35:24 UTC), short because the repository started 2026-10-13 and two hand fulls on 2026-10-14 took two places. Nothing in the repository has been restored; the 2026-10-13 drill's full has expired.Measurements
pgbackrest version(host, 18:56)…0000004C/…0400000090pg_stat_archiververifyRaw evidence (
~/Claude/briefs/pgbackrest-repo/t1/):info.out,version.out,archive-listing.txt,contiguity.out,verify-20261026.out, the fetched docs underdocs/.Divergences
rapid_systems docs/architecture.md:86's "90-day, point-in-time secondary" is recorded on the page as an over-claim, not edited (rapid_systems is out of this PR, and the design's records piece rewrites that line).Improvements seen
rapid_systems docs/reference/wal-full-recovery-runbook.md) has no backup step after archiving resumes; that is the "keep" route's first edit, after Ben's ruling.verifyruns with output none;--output=textwould put what it checked into the association's output. Seen, not applied.Session notes
none
What the next task must know
The page states the repository's state as of 2026-10-27 19:00 UTC; the restore drill is what replaces "nothing restored" with a number.
🤖 Generated with Claude Code