Function mz_catalog::durable::upgrade::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.