Skip to content
代码片段 群组 项目
未验证 提交 e2471a20 编辑于 作者: Jon Glassman's avatar Jon Glassman 提交者: GitLab
浏览文件

Merge branch 'bnyaringita-master-patch-7cfc' into 'master'

Add troubleshooting when indexing is paused

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/154314



Merged-by: default avatarJon Glassman <jglassman@gitlab.com>
Co-authored-by: default avatarBrenda Nyaringita <bnyaringita@gitlab.com>
No related branches found
No related tags found
1 合并请求!2498Add job wait time to group runners dashboard
...@@ -273,6 +273,26 @@ A large Sidekiq backlog might accompany this error. To fix the indexing failures ...@@ -273,6 +273,26 @@ A large Sidekiq backlog might accompany this error. To fix the indexing failures
sudo gitlab-rake gitlab:elastic:resume_indexing sudo gitlab-rake gitlab:elastic:resume_indexing
``` ```
### Indexing keeps pausing with `elasticsearch_pause_indexing setting is enabled`
You might notice that new data is not being detected when you run a search.
This error occurs when that new data is not being indexed properly.
To resolve this error, [reindex your data](elasticsearch.md#zero-downtime-reindexing).
However, when reindexing, you might get an error where the indexing process keeps pausing, and the Elasticsearch logs show the following:
```shell
"message":"elasticsearch_pause_indexing setting is enabled. Job was added to the waiting queue"
```
If reindexing does not resolve this issue, and you did not pause the indexing process manually, this error might be happening because two GitLab instances share one Elasticsearch cluster.
To resolve this error, disconnect one of the GitLab instances from using the Elasticsearch cluster.
For more information, see [issue 3421](https://gitlab.com/gitlab-org/gitlab/-/issues/3421).
### Last resort to recreate an index ### Last resort to recreate an index
There may be cases where somehow data never got indexed and it's not in the There may be cases where somehow data never got indexed and it's not in the
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册