Skip to main content

default_options

Function default_options 

Source
fn default_options(
    replication_factor: u32,
) -> BTreeMap<ClusterOptionName, WithOptionValue<Raw>>
Expand description

The options SHOW CREATE CLUSTER renders for every managed cluster, paired with the value the server assigns when the definition omits them.

A live option equal to its default is indistinguishable from an unset one, so a definition that omits it has not drifted. Options the server omits from SHOW CREATE CLUSTER when unset need no entry here.

The interval mirrors mz_controller_types::DEFAULT_REPLICA_LOGGING_INTERVAL.