Function mz_catalog::durable::upgrade::upgrade
source ยท pub(crate) async fn upgrade(
persist_handle: &mut PersistHandle<StateUpdateKindJson, UnopenedCatalogStateInner>,
commit_ts: Timestamp,
) -> Result<Timestamp, CatalogError>
Expand description
Upgrades the data in the catalog to version CATALOG_VERSION
.
Returns the current upper after all migrations have executed.