Commit 5b8f8ce5 authored by Evan Read's avatar Evan Read

Merge branch 'russell/edit-reindex-from-remote' into 'master'

Follow-up edits to the "Add rake task for reindexing" content

Closes #212631

See merge request gitlab-org/gitlab!28297
parents e6d7d10a ea75efe0
...@@ -427,14 +427,14 @@ There are several Rake tasks available to you via the command line: ...@@ -427,14 +427,14 @@ There are several Rake tasks available to you via the command line:
- [`sudo gitlab-rake gitlab:elastic:projects_not_indexed`](https://gitlab.com/gitlab-org/gitlab/blob/master/ee/lib/tasks/gitlab/elastic.rake) - [`sudo gitlab-rake gitlab:elastic:projects_not_indexed`](https://gitlab.com/gitlab-org/gitlab/blob/master/ee/lib/tasks/gitlab/elastic.rake)
- Displays which projects are not indexed. - Displays which projects are not indexed.
- [`sudo gitlab-rake gitlab:elastic:reindex_to_another_cluster[<SOURCE_CLUSTER_URL>,<DESTINATION_CLUSTER_URL>]`](https://gitlab.com/gitlab-org/gitlab/blob/master/ee/lib/tasks/gitlab/elastic.rake) - [`sudo gitlab-rake gitlab:elastic:reindex_to_another_cluster[<SOURCE_CLUSTER_URL>,<DESTINATION_CLUSTER_URL>]`](https://gitlab.com/gitlab-org/gitlab/blob/master/ee/lib/tasks/gitlab/elastic.rake)
- Creates a new index in the destination cluster and triggers a [reindex from - Creates a new index in the destination cluster from the source index using
remote](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-reindex.html#reindex-from-remote) Elasticsearch "reindex from remote", where the source index is copied to the
such that the index is fully copied from the source index. This can be destination. This is useful when migrating to a new cluster because it should be
useful when you wish to perform a migration to a new cluster as this quicker than reindexing via GitLab.
reindexing should be quicker than reindexing via GitLab. Note that remote
reindex requires your source cluster to be whitelisted in your destination NOTE: **Note:**
cluster in Elasticsearch settings as per [the Your source cluster must be whitelisted in your destination cluster's Elasticsearch
documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-reindex.html#reindex-from-remote). settings. See [Reindex from remote](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-reindex.html#reindex-from-remote).
### Environment Variables ### Environment Variables
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment