Factory pattern for migration job instantiation
The following discussion from !54628 (merged) should be addressed:
-
@mayra-cabrera started a discussion: (+1 comment) Do we plan to have any other strategy?
🤔 I also wonder if we should just save
PrimaryKeyBatchingStrategy
instead ofGitlab::Database::BackgroudnMigration::PrimaryKeyBatchingStrategy
. Just in case we ever decide to movePrimaryKeyBatchingStrategy
to another module
Edited by Andreas Brandl