Commit Graph

3 Commits

Author SHA1 Message Date
Jarka Kadlecová 153ea18301 Refactor matchers for background migrations 2018-01-05 13:40:31 +01:00
Stan Hu 39dce43ad5 De-duplicate background migration matchers defined in spec/support/migrations_helpers.rb 2017-11-16 16:24:41 -08:00
Sean McGivern 472be7fe61 Reschedule merge request diff background migration
The first attempt didn't migrate all rows on GitLab.com, due to a couple of
issues:

1. Some rows in merge_request_diffs had truly huge numbers of commits and diffs
   serialised - one in particular had 26,000 commits!
2. The jobs were sometimes on Sidekiq hosts with frequent OOM errors, leading to
   the job being lost.

The previous commit adds more logging, and a more robust insertion method. This
commit reschedules the jobs, with a generous pause between each.
2017-09-29 11:56:08 +01:00