Function migrate_scheme_to_v2

Source
pub async fn migrate_scheme_to_v2(
    object_store: &ObjectStore,
    dataset_base: &Path,
) -> Result<()>
Expand description

Migrate all V1 manifests to V2 naming scheme.

This function will rename all V1 manifests to V2 naming scheme.

This function is idempotent, and can be run multiple times without changing the state of the object store.

However, it should not be run while other concurrent operations are happening. And it should also run until completion before resuming other operations.