map some tables to another external cluster with logical replication.
But for some reasons (I cannot understand), the replication slots drop. When I create replication slots manually, the process continues.
Does anyone know the reason for this? Why do it drop the replication slots?
https://patroni.readthedocs.io/en/latest/dynamic_configuration.html#dynamic-configuration-settings have you check slot section from patroni doc. Have you declared logical slots, at patroni level? slots: permanent_logical_slot_name: type: logical database: my_db plugin: test_decoding permanent_physical_slot_name: type: physical ...
I tested it and It is working!! Really, Patroni drops Replication slots when Failover. Many Thanks :)
Обсуждают сегодня