Skip to main content

Module cluster_state

Module cluster_state 

Source
Expand description

Projects a managed clusterโ€™s durable catalog config into the ExpectedClusterState compare-and-append witness, and checks a witness against the current config.

project_expected is the one projection from catalog config to the witness. Building the witness the same way wherever a write is conditioned and wherever it is checked keeps the compared fields from drifting apart.

Functionsยง

auto_scaling_policy ๐Ÿ”’
burst_record ๐Ÿ”’
cluster_matches_expected ๐Ÿ”’
Whether cluster_idโ€™s current managed state still equals expected. A missing or unmanaged cluster never matches. This is the compare half of the compare-and-append, evaluated inside the catalog transaction so the check and the commit cannot be separated.
cluster_schedule ๐Ÿ”’
on_timeout ๐Ÿ”’
project_expected ๐Ÿ”’
Project a managed clusterโ€™s durable config into the compare-and-append witness: the fields a conditional write is conditioned on.
reconfiguration_record ๐Ÿ”’
reconfiguration_status ๐Ÿ”’