You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And the failover_worker on it logs these warnings:
still waiting for remote slot logical_replication_slot_1 lsn (7C/361910F0) and catalog xmin (119372965) to pass local slot lsn (7C/3407FF88) and catalog xmin (119372999)
So, even if there are some changes for logical_replication_slot_2, its position is not being synced to streaming replica, because logical_replication_slot_1 is not consumed.
Should pg_failover_slots work like this?
I know the workaround would be to consume logical_replication_slot_1 one first and then create logical_replication_slot_2.
Regards,
Milen
The text was updated successfully, but these errors were encountered:
MilenBlagojevic
changed the title
When creating multiple replication slots on primary, none of them gets sync-ed until the first one does not get subscriber.
Create multiple logical replication slots
Sep 16, 2024
Hello,
I have simple setup with primary and one streaming replica. pg_failover_slots extension on both of them is configured and working.
Then, I create 2 logical replication slots:
Streaming replica shows one of them:
And the failover_worker on it logs these warnings:
So, even if there are some changes for logical_replication_slot_2, its position is not being synced to streaming replica, because logical_replication_slot_1 is not consumed.
Should pg_failover_slots work like this?
I know the workaround would be to consume logical_replication_slot_1 one first and then create logical_replication_slot_2.
Regards,
Milen
The text was updated successfully, but these errors were encountered: