Adjust a range and a batch sizes in stages statuses migration
What does this MR do?
This MR improves stages statuses migration.
- It fixed scheduling migrations in batches.
- It scheduled in smaller batches, to avoid statement timeouts.
Does this MR meet the acceptance criteria?
-
Tests added for this bug -
Has been reviewed by Backend -
Has been reviewed by Database
What are the relevant issue numbers?
Closes gitlab-org/gitlab-ce#36793