Function mz_catalog::durable::upgrade::run_upgrade

source ยท
async fn run_upgrade(
    unopened_catalog_state: &mut PersistHandle<StateUpdateKindJson, UnopenedCatalogStateInner>,
    version: u64,
    commit_ts: Timestamp,
) -> Result<(u64, Timestamp), CatalogError>
Expand description

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

Returns the new version and upper.