Skip to main content

Module executor

Module executor 

Source
Expand description

Migration plan entry points: locking, checkpoint resume orchestration, history recording, and rollback.

Step-level execution lives in [plan_runner]; row-level step application lives in [data_apply].

Structs§

ExecuteOptions
Optional collaborators for execute_migration_plan_with_options.

Traits§

SchemaWriteFence
Write fence held across schema-modifying steps of a migration.

Functions§

execute_migration_plan
execute_migration_plan_with_options
rollback_migration
rollback_migration_with_options
Rollback reusing ExecuteOptions: event subscriptions, progress, config (including backup_dir and checkpoint_dir) and skip_chain_check flow into the generated rollback plan; the backup restore branch dispatches RolledBack on success and Failed on error.