How Neki Handles Unplanned Postgres Failovers

x.com1 min read

This article explains how Neki handles unplanned database failovers by querying replicas rather than relying solely on health checks or leases when a primary becomes unreachable. Neki uses short timeouts to detect frozen or unresponsive primary processes and freezes replica WAL positions before selecting the best candidate to promote. This approach prevents split-brain scenarios and ensures reliable database recovery. Open article →

More on this topic