In Designing a planned switchover for minimum disruption , we discussed how Neki moves Postgres primaryship when all the participants are healthy. Admin, Neki’s control plane, knows when the primary is going to step aside. It can inspect the shard, select a target, and prepare the handoff before causing any disruption.