Neki control plane enables replica-based unplanned Postgres failover

planetscale.com9 min read

Neki's control plane uses replica views instead of direct primary health checks to safely execute unplanned database failovers. By cross-validating replication status, disconnecting replicas to freeze write positions, and selecting the highest WAL position among candidates, the system ensures data consistency and prevents split-brain scenarios when a Postgres primary becomes unreachable. Open article →