Skip to content

[INF-1722] Show WAL gaps and PostgreSQL maintenance progress - #21

Merged
thesyncim merged 2 commits into
mainfrom
codex/lsn-maintenance-progress
Aug 28, 2026
Merged

[INF-1722] Show WAL gaps and PostgreSQL maintenance progress#21
thesyncim merged 2 commits into
mainfrom
codex/lsn-maintenance-progress

Conversation

@thesyncim

@thesyncim thesyncim commented Aug 27, 2026

Copy link
Copy Markdown
Member

Ticket

INF-1722

Summary

  • Compare exact source, captured and applied LSNs; split uncaptured/replay/end-to-end WAL gaps and measure actual source, capture and replay rates.
  • Show VACUUM/autovacuum, VACUUM FULL and index-build phases, counters and blockers. Percentages describe the current phase only; unknown totals stay unknown.
  • Isolated, authenticated read-only diagnostics: shared 5s samples, bounded SQL, permission/staleness handling, no changes to replay, acknowledgement, storage or cutover.

Validation

  • Full Go race suite, vet, and JavaScript regressions.
  • PostgreSQL 16/17/18 matrix, twice with race detection: SQL-verified LSN arithmetic, real index waits, VACUUM/FULL, permissions, database isolation and read-only/timeouts.
  • Full migration E2E and exact Linux image E2E: final source/target row counts and hashes match.
  • v68-to-new whole-controller upgrade during replay: settings preserved, counters advance, final data checks pass.
  • Actual browser: advancing vacuum bar, index blockers, unmeasured phases, live LSNs/rates, configuration and stale/error clearing.

Rollout

Candidate v69 passed exact-image E2E; live deployment is awaiting explicit approval from the cluster guard. c3 remains on v68, running unchanged. The rollout must preserve its PVC, slot, saved settings and receipts; no recopy, index changes, source writes or cutover. Durable formats are unchanged, so image rollback is compatible.

Screenshots

Real local PostgreSQL fixtures, not mockups.

LSNs and split WAL gaps

LSN comparison

VACUUM progress

VACUUM progress

Index waits and VACUUM FULL

Index and VACUUM FULL progress

@thesyncim
thesyncim merged commit c5003c7 into main Aug 28, 2026
1 check passed
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