Add operation runner
Problem
BBO operations need a migration orchestrator to manage the execution of individual migrations. Currently there's no mechanism to:
- Find or create the next batch job for a migration
- Determine batch boundaries using appropriate batching strategies
- Handle migration lifecycle events (finish, failure, optimization)
- Delegate job execution to the appropriate wrapper
Solution
Implement a OperationOrchestrator
that orchestrates the execution of a single migration, similar to the existing BBM pattern.
The runner should:
-
Find or create the next batch job for a migration
-
Determine batch boundaries using batching strategies
-
Delegate job execution to BatchedMigrationWrapper
-
Handle migration lifecycle (finish, failure, optimization)
-
Add Runner
Edited by Max Orefice