Skip to main content

upgrade

Function upgrade 

Source
pub fn upgrade(
    snapshot: Vec<StateUpdateKind>,
) -> Vec<MigrationAction<StateUpdateKind, StateUpdateKind>>
Expand description

Adds the arrangement_compression flag to managed clusters and cluster replicas, backfilling it as false. The flag also appears on a managed cluster’s in-flight reconfiguration target, backfilled the same way.

Managed Cluster and ClusterReplica records gained a new field, so their stored JSON is no longer readable as the v90 type. Every such record is rewritten. Unmanaged clusters and all other records are unchanged and pass through untouched.