Failover slot synchronization
Synchronizing logical replication slots from primary to standby (failover slots, slotsync worker, synchronized_standby_slots).
Versions
- PostgreSQL 20 · worked-on · improved · moderate
- PostgreSQL 19 · shipped · improved · moderate · 9 commits · +764 / -308 lines
- PostgreSQL 18 · shipped · improved · minor · 3 commits · +81 / -28 lines
- PostgreSQL 17 · shipped · new · major · 23 commits · +5.1k / -671 lines
- PostgreSQL 16 · worked-on · new · major
- PostgreSQL 15 · worked-on · new · major
Threads
- Postmaster PANIC on a standby with slot synchronization enabled
- Inactive physical replication slot can bypass synchronized_standby_slots confirmation
- Assertion failure in update_local_synced_slot(), slotsync.c:364
- synchronized_standby_slots behavior inconsistent with quorum-based synchronous replication
- Use correct type for catalog_xmin
- Bound memory usage during manual slot sync retries
- avoid false dropped replication slot log messages
- Fix slotsync worker busy loop causing repeated log messages
- Use SIGTERM instead of SIGUSR1 for slotsync worker to exit during promotion?
- Release postmaster working memory context in slotsync worker
- Improve pg_sync_replication_slots() to wait for primary to advance
- Placement of synchronized_standby_slots description in config.sgml
- pgsql: Prevent invalidation of newly synced replication slots.
- Fix LOCK_TIMEOUT handling in slotsync worker
- How can end users know the cause of LR slot sync delays?
- Issue with logical replication slot during switchover
- Re: Assertion failure in SnapBuildInitialSnapshot()
- issue with synchronized_standby_slots
- Clear logical slot's 'synced' flag on promotion of standby
- Use bool with synced field (src/include/replication/slot.h)
- Fix use of variable after pfree
- Unused parameter in ProcessSlotSyncInterrupts()
- Unexpected Standby Shutdown on sync_replication_slots change
- doc patch: correct function name for slot synchronization.
- Excessive LOG messages from replication slot sync worker
- failover logical replication slots
- Using failover slots for PG-non_PG logical replication
- pg_recvlogical cannot create slots with failover=true
- Replication slot is not able to sync up
- Fix slot synchronization with two_phase decoding enabled
- synchronized_standby_slots used in logical replication
- pg_copy_logical_replication_slot doesn't copy the failover property
- BUG #18810: invalid value for parameter "synchronized_standby_slots" Caused error:"Segmentation fault"
- BUG #18789: logical replication slots are deleted after failovers
- BUG #18792: Segmentaion Fault error when changing new parameter synchronized_standby_slots
- Connection limits/permissions, slotsync workers, etc
- Re: crash with synchronized_standby_slots
- crash with synchronized_standby_slots
- Enhance create subscription reference manual
- Allow logical failover slots to wait on synchronous replication
- Doc: fix the note related to the GUC "synchronized_standby_slots"
- Correction in doc of failover ready steps
- Fix an incorrect statement for failover option in alter_subscription.sgml
- New standby_slot_names GUC in PG 17
- Synchronizing slots from primary to standby
- Docs: Always use true|false instead of sometimes on|off for the subscription options
- promotion related handling in pg_sync_replication_slots()
- Disallow changing slot's failover option in transaction block
- pgsql: Fix the intermittent buildfarm failures in 040_standby_failover_
- DOCS: Avoid using abbreviation "aka"
- About a recently-added message
- 'Shutdown <= SmartShutdown' check while launching processes in postmaster.
- A new message seems missing a punctuation
- Synchronizing slots from primary to standby
- Notes on physical replica failover with logical publisher or subscriber
- Logical replication from HA cluster
- Synchronizing slots from primary to standby
- WIP: Failover Slots