{"repo":"EnterpriseDB/pg_failover_slots","free":true,"listed":false,"github":"https://github.com/EnterpriseDB/pg_failover_slots","clone":"git clone https://github.com/EnterpriseDB/pg_failover_slots.git","description":"PG Failover Slots extension","language":"C","stars":106,"topics":["logical-replication","postgresql","replication"],"license":null,"category":"databases-storage","readme_excerpt":"pg failover slots PG Failover Slots is for anyone with Logical Replication Slots on Postgres databases that are also part of a Physical Streaming Replication architecture. Since logical replication slots are only maintained on the primary node, downstream subscribers don't receive any new changes from a newly promoted primary until the slot is created, which is unsafe because the information that includes which data a subscriber has confirmed receiving and which log data still needs to be retained for the subscriber will have been lost, resulting in an unknown gap in data changes. PG Failover Slots makes logical replication slots usable across a physical failover using the following features: - Copies any missing replication slots from the primary to the standby - Removes any slots from the standby that aren't found on the primary - Periodically synchronizes the position of slots on the standby based on the primary - Ensures that selected standbys receive data before any of the logical slot walsenders can send data to consumers PostgreSQL 11 or higher is required. How to check the standby is ready The slots are not synchronized to the standby immediately, because of consistency reasons. The standby can be too behind logical slots, or too ahead of logical slots on primary when the pg failover slots module is activated, so the module does verification and only synchronizes slots when it's actually safe. This, however brings a need to verify that the slots are synchronized and t","default_branch":null,"files":null,"tree":[],"storefront":"/r/EnterpriseDB","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/EnterpriseDB/pg_failover_slots/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}