Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
aae7fdf3
Commit
aae7fdf3
authored
Nov 18, 2020
by
John McGuire
Committed by
Achilleas Pipinellis
Nov 18, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding note on migrations to Gitlab Docs
parent
05ce22b8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
49 additions
and
0 deletions
+49
-0
doc/integration/elasticsearch.md
doc/integration/elasticsearch.md
+49
-0
No files found.
doc/integration/elasticsearch.md
View file @
aae7fdf3
...
...
@@ -435,6 +435,55 @@ After the reindexing is completed, the original index will be scheduled to be de
While the reindexing is running, you will be able to follow its progress under that same section.
## Background migrations
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/234046) in GitLab 13.6.
With reindex migrations running in the background, there's no need for a manual
intervention. This usually happens in situations where new features are added to
Advanced Search, which means adding or changing the way content is indexed.
To confirm that the background migrations ran, you can check with:
```
shell
curl
"
$CLUSTER_URL
/gitlab-production-migrations/_search?q=*"
| jq .
```
This should return something similar to:
```
json
{
"took"
:
14
,
"timed_out"
:
false
,
"_shards"
:
{
"total"
:
1
,
"successful"
:
1
,
"skipped"
:
0
,
"failed"
:
0
},
"hits"
:
{
"total"
:
{
"value"
:
1
,
"relation"
:
"eq"
},
"max_score"
:
1
,
"hits"
:
[
{
"_index"
:
"gitlab-production-migrations"
,
"_type"
:
"_doc"
,
"_id"
:
"20201105181100"
,
"_score"
:
1
,
"_source"
:
{
"completed"
:
true
}
}
]
}
}
```
In order to debug issues with the migrations you can check the
[
`elasticsearch.log` file
](
../administration/logs.md#elasticsearchlog
)
.
## GitLab Advanced Search Rake tasks
Rake tasks are available to:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment