Skip to main content

is_discarded

Function is_discarded 

Source
fn is_discarded(option: &ClusterOption<Raw>) -> bool
Expand description

Whether the server discards an option rather than recording it, leaving it out of SHOW CREATE CLUSTER.

An empty block, as in AUTO SCALING STRATEGY = (), is how a definition spells “unset”. DISK is a deprecated no-op the server accepts and drops. Either one would read as drift on every apply if the diff kept it, because setting it can never bring it back.