diff options
Diffstat (limited to 'doc/update/background_migrations.md')
-rw-r--r-- | doc/update/background_migrations.md | 31 |
1 files changed, 5 insertions, 26 deletions
diff --git a/doc/update/background_migrations.md b/doc/update/background_migrations.md index be6ad43fa8a..bf9f2df9e87 100644 --- a/doc/update/background_migrations.md +++ b/doc/update/background_migrations.md @@ -96,8 +96,9 @@ Batched background migrations are handled by Sidekiq and [run in isolation](../d To check the status of batched background migrations: -1. On the top bar, select **Main menu > Admin**. -1. On the left sidebar, select **Monitoring > Background Migrations**. +1. On the left sidebar, expand the top-most chevron (**{chevron-down}**). +1. Select **Admin Area**. +1. Select **Monitoring > Background Migrations**. ![queued batched background migrations table](img/batched_background_migrations_queued_v14_0.png) @@ -207,11 +208,8 @@ Feature.disable(:optimize_batched_migrations) > - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/104027) > in GitLab 15.7, [behind a feature flag](../user/feature_flags.md), -> [enabled by default](https://gitlab.com/gitlab-org/gitlab/-/issues/372316). -> - Enabled on GitLab.com. -> - Recommended for production use. -> - For GitLab self-managed instances, GitLab administrators can opt to -> [disable it](#enable-or-disable-parallel-execution-for-batched-background-migrations). +> - [Enabled by default](https://gitlab.com/gitlab-org/gitlab/-/issues/372316) in GitLab 15.11. +> - Feature flag `batched_migrations_parallel_execution` removed in GitLab 16.1. There can be [risks when disabling released features](../administration/feature_flags.md#risks-when-disabling-released-features). Refer to this feature's version history for more details. @@ -225,25 +223,6 @@ the number of batched background migrations executed in parallel: ApplicationSetting.update_all(database_max_running_batched_background_migrations: 4) ``` -#### Enable or disable parallel execution for batched background migrations - -Parallel execution for batched background migrations is under development but ready for production use. -It is deployed behind a feature flag that is **enabled by default**. -[GitLab administrators with access to the GitLab Rails console](../administration/feature_flags.md) -can opt to disable it. - -To enable it: - -```ruby -Feature.enable(:batched_migrations_parallel_execution) -``` - -To disable it: - -```ruby -Feature.disable(:batched_migrations_parallel_execution) -``` - ## Troubleshooting ### Enable or disable background migrations |