mz_catalog::durable::upgrade

Function upgrade

Source
pub(crate) async fn upgrade(
    persist_handle: &mut PersistHandle<StateUpdateKindJson, UnopenedCatalogStateInner>,
) -> Result<(), CatalogError>
Expand description

Upgrades the data in the catalog to version CATALOG_VERSION.

Returns the current upper after all migrations have executed.