Finalize migration for the scanner_ids of vulnerabilty_reads
Summary
As part of fixing a production bug, we created a batched background migration (!148807 (merged))
As described in the batched background migration documentation, we must finalize
the migration once it is complete
Implementation Plan
-
verify the batched background migration is completed on GitLab.com - can be done by running this chatops command:
/chatops run batched_background_migrations status 1000500 --production
- also tracked by this work item: monitor progress of backfill (#455563 - closed) • Michael Becker • 16.11
- can be done by running this chatops command:
-
verify the migration was added in or before the last required stop - I think
17.0
is the next required stop - chatops say the migration from !148807 (merged) was available in
v16.11.0-ee
/chatops run release check https://gitlab.com/gitlab-org/gitlab/-/merge_requests/148807
- I think
-
Write a new migration using the ensure_batched_background_migration_is_finished
helper as described in the docs
Edited by Michael Becker