Designing a planned switchover for minimum disruption
Summary
PlanetScale explains a planned switchover process for Neki shards to minimize disruption when promoting a replica to primary. The article outlines three phases (preflight validation, convergence and promotion, client recovery), WAL coordination, and buffering to avoid application errors, plus handling if the target cannot catch up and rollback guarantees under synchronous durability.