Adjust sub-batch size for failed Batched Background Migration Jobs
Merged
requested to merge 377308-adjust-the-sub_batch_size-in-background-migrations-if-we-get-a-query-timeout-exception into master
Compare changes
- Leonardo da Rosa authored
errors with additional context
@@ -7,6 +7,7 @@ module BackgroundMigration
@@ -96,8 +97,14 @@ def each_sub_batch(batching_arguments: {}, batching_scope: nil)
@@ -134,6 +141,15 @@ def filter_sub_batch(relation, batching_scope = nil)