mz_catalog::durable::upgrade

Function run_upgrade

Source
async fn run_upgrade(
    unopened_catalog_state: &mut PersistHandle<StateUpdateKindJson, UnopenedCatalogStateInner>,
    version: u64,
) -> Result<u64, CatalogError>
Expand description

Determines which upgrade to run for the version and executes it.

Returns the new version and upper.