summaryrefslogtreecommitdiff
path: root/doc/update/README.md
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-02-24 03:09:05 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-02-24 03:09:05 +0000
commit07d0374b204881f2bd64ed897e4bbab19f180cc9 (patch)
treeed7837a31c0edae5e8ec876626b0bf3ecb3db68c /doc/update/README.md
parent2ed3b0abccc8de391f1a9de2bc5785d3e0f5b018 (diff)
downloadgitlab-ce-07d0374b204881f2bd64ed897e4bbab19f180cc9.tar.gz
Add latest changes from gitlab-org/gitlab@master
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