Commit graph

22 commits

Author SHA1 Message Date
Terri Chu 66464bf0e7 Bump gitlab-elasticsearch-indexer to version 2.16.0 2021-10-12 11:21:58 -04:00
Terri Chu c6c449415c Bump gitlab-elasticsearch-indexer to version 2.15.0 2021-09-30 13:10:54 -04:00
Changzheng Liu 13e4e4039c Upgrade gitlab-elasticsearch-indexer to v2.14.0 2021-09-21 18:07:30 +00:00
Terri Chu 73a3bc83a3 Support displaying indexed filenames for large files 2021-08-02 22:47:01 +00:00
Dmitry Gruzd be5ddaf6b6 Fix indexer running longer than lock timeout
This MR uses newly added --timeout option to prevent
gitlab-elasticsearch-indexer processes from running longer than the lock
timeout in Gitlab::Elastic::Indexer.

Changelog: fixed
EE: true
2021-06-01 10:59:04 +03:00
Terri Chu 560d5bf48a Upgrade GitLab Elasticsearch Indexer to v2.11.0
Changelog: performance
2021-05-13 15:56:44 -04:00
Changzheng Liu db32ff55a0 Upgrade the GitLab Elasticsearch Indexer version to 2.10.0 2021-05-03 01:58:55 +00:00
Changzheng Liu 4d1f19f8b0 Change the GitLab Elasticsearch Indexer version to 2.9.0 2021-02-09 11:48:51 -08:00
Changzheng Liu 8a93590e6e Pass project full path to indexer 2020-11-20 12:37:30 +00:00
Dylan Griffith f631f52061 Bump GITLAB_ELASTICSEARCH_INDEXER_VERSION to 2.7.0 2020-09-14 06:50:01 +00:00
Terri Chu 3b297a9558 Bump gitlab-elasticsearch-indexer to v2.6.0
Use new version of the elasticsearch indexer to support
indexing blobs with path > 512 bytes
2020-07-30 05:45:55 +00:00
Dylan Griffith 587b08949d Add setting for max indexed file size in Elasticsearch
This also passes the setting through to the
`gitlab-elasticsearch-indexer` under the Gitaly config since this
setting is used in the Gitaly RPC call to avoid fetching too large
files.

The corresponding change for the gitlab-elasticsearch-indexer is
https://gitlab.com/gitlab-org/gitlab-elasticsearch-indexer/-/merge_requests/84
2020-07-27 15:36:10 +10:00
Nick Thomas b7248d26a6
Update GitLab Elasticsearch Indexer 2020-07-03 13:00:41 +01:00
Changzheng Liu 1c23b3e31f Update GitLab Elasticsearch Indexer to v2.3.0 2020-05-15 19:20:12 +00:00
Nick Thomas 4d95bee5bc
Update GitLab Elasticsearch Indexer 2020-04-09 13:50:48 +01:00
Nick Thomas a2ac5f57bf
Make elasticsearch bulk parameters configurable
These variables strongly affect the amount of load that indexing
operations place on the Elasticsearch server. They are useful values
to be able to twiddle in both performance and availability contexts.

At present, these only affect `gitlab-elasticsearch-indexer` behaviour,
but we can roll it out to the sidekiq context over time.
2020-02-11 12:16:36 +00:00
Dylan Griffith b62dea0be9 Bump GITLAB_ELASTICSEARCH_INDEXER_VERSION to 2.0.0 2020-01-15 15:56:01 +11:00
Markus Koller 9c12f527f2
Don't store full blob path in ES filename field
This verifies the changed indexer behaviour from
https://gitlab.com/gitlab-org/gitlab-elasticsearch-indexer/merge_requests/44

We're also renaming the blob-related code to use `path` rather than
`filename`, to be consistent with the `Path` field in the ES index,
and the intention of this code (which deals with full paths, rather
than just filenames).

This also removes the `Elasticsearch::Git::LiteBlob` class, which isn't
used anymore and a leftover from the Ruby indexer which was removed in
https://gitlab.com/gitlab-org/gitlab/merge_requests/15641
2019-10-23 18:05:03 +02:00
Dylan Griffith 81e0f21822 Bump gitlab-elasticsearch-indexer v1.4.0
Which fixes https://gitlab.com/gitlab-org/gitlab/issues/33255 and also
includes
https://gitlab.com/gitlab-org/gitlab-elasticsearch-indexer/merge_requests/39
2019-10-15 17:33:48 +11:00
Nick Thomas 045ae20f0d Update the ES indexer to v1.3.0 2019-08-29 20:20:08 +00:00
Nick Thomas 4345886602
Update the elasticsearch indexer 2019-06-06 01:44:38 +01:00
Nick Thomas c12754ccee
Use gitlab-elasticsearch-indexer in tests
The golang indexer is supplanting the Ruby one in GitLab 12.1, so it's
important that we gain confidence in it by using it in the tests now.

This should also help to expose problems and catch regressions earlier.
2019-05-17 13:02:14 +01:00