summaryrefslogtreecommitdiff
path: root/doc/update/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/update/README.md')
-rw-r--r--doc/update/README.md20
1 files changed, 19 insertions, 1 deletions
diff --git a/doc/update/README.md b/doc/update/README.md
index 1bd2770b957..3ebe1d38d0f 100644
--- a/doc/update/README.md
+++ b/doc/update/README.md
@@ -115,17 +115,35 @@ following command:
**For Omnibus installations**
+If using GitLab 12.9 and newer, run:
+
```shell
sudo gitlab-rails runner -e production 'puts Gitlab::BackgroundMigration.remaining'
```
-**For installations from source**
+If using GitLab 12.8 and older, run the following using a Rails console:
+```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:
+
+```ruby
+puts Sidekiq::Queue.new("background_migration").size
+Sidekiq::ScheduledSet.new.select { |r| r.klass == 'BackgroundMigrationWorker' }.size
+```
+
## Upgrading to a new major version
Major versions are reserved for backwards incompatible changes. We recommend that