Backfill ci_runner_machines_687967fa8a partitioned table
What does this MR do and why?
This MR backfills the ci_runner_machines_687967fa8a partitioned table from the ci_runners. It is very similar to the recent !166520 (merged) which did the same for the ci_runners table.
Changelog: added
References
Please include cross links to any resources that are relevant to this MR This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.
- Backfill ci_runner_machines_687967fa8a table (#502934 - closed)
- Backfill ci_runners_e59bb2812d table (!166520 - merged)
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
-
Enable the
:allow_organization_creationFF:Feature.enable(:allow_organization_creation) -
Go to the shell in your GDK
gitlabdirectory and runbundle exec rake "gitlab:seed:runner_fleet[root, rf-, 500, 100]". This will seed your GDK with some runners and jobs required for testing this MR. -
Let's run the migration:
bundle exec rails db:migrate -
Check http://gdk.test:3000/admin/background_migrations?database=ci to follow the state of the batched migration.
-
Compare the number of runner managers in the source table, and the ones in the partitioned table:


