Skip to content

Manage shadow catalog more directly - #71

Merged
serprex merged 1 commit into
mainfrom
managed-postgres
Jul 20, 2026
Merged

Manage shadow catalog more directly#71
serprex merged 1 commit into
mainfrom
managed-postgres

Conversation

@serprex

@serprex serprex commented Jul 18, 2026

Copy link
Copy Markdown
Member

walshadow manages starting/configuring shadow catalog,
important when postgresql.conf of primary can be outside data directory

Improve replay continuity, potentially replaying some wal on restarts.
Avoids skipping archives in weird situation, avoids automatically rebootstrapping,
& respects redo lsn as postgres can't necessarily replay from where it was interrupted

Reactively adjust shadow catalog with settings necessary to process wal from primary

@serprex
serprex requested a review from harshil-goel July 18, 2026 06:24
walshadow manages starting/configuring shadow catalog,
important when postgresql.conf of primary can be outside data directory

Improve replay continuity, potentially replaying some WAL on restarts.
Avoids skipping archives in weird situation, avoids automatically rebootstrapping,
& respects redo lsn as postgres can't necessarily replay from where it was interrupted

Reactively adjust shadow catalog with settings necessary to process wal from primary
@serprex
serprex force-pushed the managed-postgres branch from 5653c65 to b99c1f7 Compare July 20, 2026 12:15
@serprex
serprex merged commit cb5ac11 into main Jul 20, 2026
5 checks passed
@serprex
serprex deleted the managed-postgres branch July 20, 2026 14:50
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.

2 participants