Skip to main content

recover_partial_migration

Function recover_partial_migration 

Source
pub fn recover_partial_migration(
    jsonl_path: &Path,
    correlation_id: &str,
    re_migrate: bool,
) -> Result<MigrationState>
Expand description

Recover from a partial or corrupted V2 migration.

If the sidecar is in a partial/corrupt state, removes it and optionally re-runs the migration. Returns the final migration state.