Skip to main content

alter_changes_replica_shape

Function alter_changes_replica_shape 

Source
fn alter_changes_replica_shape(options: &PlanClusterOption) -> bool
Expand description

Whether an ALTER statement sets a replica config shape dimension (SIZE, AVAILABILITY ZONES, or either INTROSPECTION option), the changes that need a durable reconfiguration record and a hydrate-overlap.

A statement-level check, used while a reconfiguration is in flight: an ALTER back to the realized shape sets a shape option without changing its value, yet must reach the reshape path to cancel the record. With nothing in flight the routing compares values instead (see sequence_alter_cluster_stage).