PlanetScale

Blocking cutovers to save replication slots

Sep 21, 2026Simeon Griggs
Blocking cutovers to save replication slots
SummaryAI, from the source post

This post details how PlanetScale's custom Kubernetes operator enhances Postgres high availability by actively managing logical replication slots during cutovers. It explains the importance of `failover = true` for logical slots to ensure they are synchronized with replicas, preventing data loss for downstream consumers. The operator detects misconfigurations, alerts users, and blocks planned cutovers that would compromise replication slot integrity. It also manages `synchronized_standby_slots` to prevent a single dead replica from blocking all logical replication. The post also clarifies the trade-offs of enabling `hot_standby_feedback` and `sync_replication_slots`.

More from the Postgres High Availability with CDC trail