Skip to main content

evaluate_scoped_parameters

Function evaluate_scoped_parameters 

Source
pub(crate) fn evaluate_scoped_parameters(
    frontend: &SystemParameterFrontend,
    params: &SynchronizedParameters,
    catalog: &Catalog,
    cluster_filter: Option<&BTreeSet<ClusterId>>,
    replica_filter: Option<&BTreeSet<ReplicaId>>,
) -> ScopedParameters
Expand description

Evaluate the scoped parameters (cluster-coherent and replica-local) for the live objects, optionally restricted to a subset of cluster or replica ids.

The full pass (both filters None) is the sync loop’s per-tick reconcile. The create path passes Some(..) to resolve just the newly-created objects synchronously, so they observe their overrides in their first controller configuration or first plan rather than after the next tick. Returns the sparse desired overrides for the evaluated objects.