• Sean McGivern's avatar
    Reschedule merge request diff background migration · 472be7fe
    Sean McGivern authored
    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.
    472be7fe
36631-activerecord-statementinvalid-pg-querycanceled-error-canceling-statement-due-to-statement-timeout.yml 131 Bytes