Skip to main content

validate_deployment_clusters

Function validate_deployment_clusters 

Source
pub(super) async fn validate_deployment_clusters(
    client: &Client,
    deploy_id: &str,
) -> Result<(), ConnectionError>
Expand description

Validate that all cluster IDs in a deployment still exist in the catalog.

Returns an error if any cluster IDs in _mz_deploy.public.clusters cannot be resolved to clusters in mz_catalog.mz_clusters (i.e., clusters were deleted).