Skip to content

Adjust a range and a batch sizes in stages statuses migration

What does this MR do?

This MR improves stages statuses migration.

  1. It fixed scheduling migrations in batches.
  2. 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

Merge request reports