summaryrefslogtreecommitdiff
path: root/doc/update
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-08-12 00:10:37 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-08-12 00:10:37 +0000
commitd9e285a74bf01b1a61108a8091a88579361ef189 (patch)
tree2f574a2af4fb59ab26c431f6de6aeeb83d4c4f08 /doc/update
parent63fd08e6b429cd3af81cf63dfc0e5fc853d04086 (diff)
downloadgitlab-ce-d9e285a74bf01b1a61108a8091a88579361ef189.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/update')
-rw-r--r--doc/update/index.md18
1 files changed, 1 insertions, 17 deletions
diff --git a/doc/update/index.md b/doc/update/index.md
index ed057782bf9..1289614c181 100644
--- a/doc/update/index.md
+++ b/doc/update/index.md
@@ -86,35 +86,19 @@ To check the status of [batched background migrations](../user/admin_area/monito
**For Omnibus installations**
-If using GitLab 12.9 and newer, also run:
+You can also run:
```shell
sudo gitlab-rails runner -e production 'puts Gitlab::BackgroundMigration.remaining'
```
-If using GitLab 12.8 and older, run the following using a [Rails console](../administration/operations/rails_console.md#starting-a-rails-console-session):
-
-```ruby
-puts Sidekiq::Queue.new("background_migration").size
-Sidekiq::ScheduledSet.new.select { |r| r.klass == 'BackgroundMigrationWorker' }.size
-```
-
**For installations from source**
-If using GitLab 12.9 and newer, run:
-
```shell
cd /home/git/gitlab
sudo -u git -H bundle exec rails runner -e production 'puts Gitlab::BackgroundMigration.remaining'
```
-If using GitLab 12.8 and older, run the following using a [Rails console](../administration/operations/rails_console.md#starting-a-rails-console-session):
-
-```ruby
-Sidekiq::Queue.new("background_migration").size
-Sidekiq::ScheduledSet.new.select { |r| r.klass == 'BackgroundMigrationWorker' }.size
-```
-
### What do I do if my background migrations are stuck?
WARNING: