Make it possible to clean up after scheduled background migrations
We shipped a background migrations tool recently, also implement one migration that uses a delayed background migrations (using perform_in
/ perform_bulk_in
), but it appears that underlying mechanism does not support cleaning up after scheduled migrations.
See discussion on Slack (private): https://gitlab.slack.com/archives/C3NBYFJ6N/p1499777984652561
We need to add support for cleaning up after scheduled background migrations in Gitlab::BackgroundMigration.steal
.