Diagram
A five-stage process flow showing Cloud SQL synchronous replication, failure detection, promotion of standby, client rerouting via the same IP, and rebuild of the old primary as the new standby.
Provision Highly Available Solutions with Cloud SQL, Bigtable, and Spanner
Automatic failover in Cloud SQL follows a fixed order: first failure detection, then promotion of the standby to primary, then rerouting of client traffic, and finally rebuilding of the old primary as the new standby. The failed primary does not automatically take over when it recovers, so applications stay on the promoted instance until a planned failback. Cross-region replicas extend this beyond one region, where data flows from the regional primary to a readable replica in a different region, and promotion makes that replica the new primary if the primary region is lost. Cascading replicas add a second hop, so data flows from the primary region to the first replica region and then to a second replica region.
Domain 4 of 4
95 practice questions
Practice this DomainLast updated