Logical Replication slot disappeared after promote Standby - Mailing list pgsql-hackers

From Perumal Raj
Subject Logical Replication slot disappeared after promote Standby
Date
Msg-id CALvqh4pwn_TFFeL+ew3fvGjZMWx6qf-qnE+r2x6G3jMdGwFe6g@mail.gmail.com
Whole thread Raw
List pgsql-hackers
Hi Community,

I have installed postgres version 17.5 with following setup,

Primary 
       -- Secondary A
       -- Secondary B
                 -- Secondary C

Config:
wal_level = 'logical'
max_wal_senders = '10'
max_replication_slots = '10'
wal_keep_size = '512MB'
hot_standby = 'on'
sync_replication_slots = 'on'
hot_standby_feedback = 'on'
synchronized_standby_slots = 'Kafka_logical_slot'


1. slotsync worker is running all the time ( Automatic sync)
2. When I create logical replication slot(Kafka_logical_slot) in Primary, it got synced on both Secondary A and Secondary B
3. It didn't appear in Secondary C , Since its not direct replica.

Issue : 
When I stop Primary node and promote one of the Direct secondary (A,B) node. logical replication slot is vanished.

Am I missing any configuration ?

Please share your experience.

Thanks,


pgsql-hackers by date:

Previous
From: John Naylor
Date:
Subject: Re: Improve the performance of Unicode Normalization Forms.
Next
From: John Naylor
Date:
Subject: Re: Vacuum ERRORs out considering freezing dead tuples from before OldestXmin