Skip to content

Document WAL budget warnings and slot recovery guidance#404

Closed
mintlify[bot] wants to merge 1 commit intomainfrom
mintlify/diagnostics-wal-budget-1776763464
Closed

Document WAL budget warnings and slot recovery guidance#404
mintlify[bot] wants to merge 1 commit intomainfrom
mintlify/diagnostics-wal-budget-1776763464

Conversation

@mintlify
Copy link
Copy Markdown
Contributor

@mintlify mintlify Bot commented Apr 21, 2026

Summary

Triggered by powersync-ja/powersync-service#607, which improved diagnostics for Postgres replication slot health: WAL budget warnings now surface in the Diagnostics API when remaining budget drops to 50% or below, and error messages for invalidated slots include explicit recovery steps.

Changes

  • Diagnostics page (maintenance-ops/self-hosting/diagnostics): Added documentation for the Diagnostics API response format including WAL-related fields (wal_status, safe_wal_size, max_slot_wal_keep_size), WAL budget warnings, and replication lag warnings.
  • Postgres maintenance page (configuration/source-db/postgres-maintenance): Added a new "Recovering from an invalidated slot" section with step-by-step recovery instructions for when a replication slot's WAL status is lost.

@benitav
Copy link
Copy Markdown
Collaborator

benitav commented Apr 22, 2026

Closing in favor of #392

@benitav benitav closed this Apr 22, 2026
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