Skip to content

Resolve "Support multiple databases for batched background migrations"

What does this MR do and why?

Support multiple databases for batched background migrations

  • Convert batched migration models to be SharedModel
  • Add a sidekiq cron specifically for the ci database, which is a separate processing queue from main
  • Update generic batching strategy PrimaryKeyBatchingStrategy to use the correct connection

Screenshots or screen recordings

These are strongly recommended to assist reviewers and reduce the time to merge your change.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #351585 (closed)

Edited by Diogo Frazão

Merge request reports