-
- Downloads
Split and retry background migration batches on QueryCanceled
We currently split and retry failed background migration batches that have failed because of a timeout exception. The list of timeout exceptions should also include ActiveRecord:QueryCanceled since in can be raise as PG::QueryCanceled: ERROR: canceling statement due to statement timeout
parent
e2f4ae1d
No related branches found
No related tags found
Showing
- config/feature_flags/development/split_background_migration_on_query_canceled.yml 8 additions, 0 deletions...elopment/split_background_migration_on_query_canceled.yml
- lib/gitlab/database/background_migration/batched_job.rb 10 additions, 1 deletionlib/gitlab/database/background_migration/batched_job.rb
- spec/lib/gitlab/database/background_migration/batched_job_spec.rb 15 additions, 1 deletion.../gitlab/database/background_migration/batched_job_spec.rb
Please register or sign in to comment