"Streaming Replication + External Logical Replication with Replication Slot Failover #879
Unanswered
bryambalan
asked this question in
Q&A
Replies: 1 comment
-
Hi @bryambalan
If you’d like personalized assistance, consider subscribing to Autobase support services, and we’ll gladly help you with the setup and optimization. Best regards, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone!
I’m starting to use the Autobase project to set up a 5-node cluster, and so far, everything has worked really well in my scenario. However, I have some additional requirements and would like to know if I’m on the right track:
Scenario
In addition to Streaming Replication in the cluster, I need to set up Logical Replication for databases outside the cluster. I understand I can manually configure this by creating the Publication on the cluster’s Master node and the Subscription on the external database. However, I have a few questions:
Questions
I researched and saw that PostgreSQL 17 introduced Replication Slot Failover. I also noticed that the Autobase project mentions the pg_failover_slots extension. My question is:
Final Goal
My goal is to ensure that, even after a failover, the logical replication continues without manual intervention, automatically redirecting the Subscriptions to the new Master in the cluster.
I would really appreciate any guidance on whether I’m on the right track or if there’s anything else I should consider!
Thanks in advance for your attention and any help!
Beta Was this translation helpful? Give feedback.
All reactions