Skip to content

Automatically enable multiple MR assignees feature flag

What does this MR do?

Schedules a background migration that checks whether multiple_merge_request_assignees feature flag needs to be enabled, otherwise it'll be rescheduled.

The rule for enabling it is that every PopulateMergeRequestAssigneesTable background job cannot be still running, or being retried or dead.

If there are any enqueued jobs in the state above, the "checker" (MergeRequestAssigneesMigrationProgressCheck) will be rescheduled for 3 hours ahead.

This MR doesn't depend on the feature code MR https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/10161, given that the population migration MR was already merged (https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/26496). If the feature flag gets enabled automatically, that's fine, because the feature code is not there yet and we can disable it if we want. That's mainly needed for self-hosted instances.

What are the relevant issue numbers?

Does this MR meet the acceptance criteria?

Edited by Yorick Peterse

Merge request reports