mz_catalog::durable::persist

Function fetch_catalog_upgrade_shard_version

Source
async fn fetch_catalog_upgrade_shard_version(
    persist_client: &PersistClient,
    upgrade_shard_id: ShardId,
) -> Option<Version>
Expand description

Fetch the persist version of the catalog upgrade shard, if one exists. A version will not exist if we are creating a brand-new environment.