Update ES version to 8.5.2
What does this merge request do and why?
This MR is a part of gitlab-org/search-team/team-tasks#109 (closed)
It updates the the Elasticsearch version used by gdk in preparation for upgrading the Elastic Cloud hosted instance to version 8.5.2
How to test
To test, you must have elasticsearch enabled in gdk.
- deleting the elasticsearch folder from the main
gitlab-development-kitfolder:rm -rf /PATH_TO/gitlab-development-kit/elasticsearch - running make for elasticsearch:
make elasticsearch-setup - verifying it downloads the new version of ES
➜ make elasticsearch-setup
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 354M 100 354M 0 0 35.8M 0 0:00:09 0:00:09 --:--:-- 36.3M
- testing that elasticsearch is the right version (and accepts http calls)
❯ gdk restart elasticsearch
ok: down: /Users/terrichu/projects/gitlab-development-kit/services/elasticsearch: 0s
ok: run: /Users/terrichu/projects/gitlab-development-kit/services/elasticsearch: (pid 50128) 0s, normally down
❯ curl http://localhost:9200
{
"name" : "terrichus-MBP.localdomain",
"cluster_name" : "elasticsearch",
"cluster_uuid" : "y1zkEBa1RYKFJpqeoJnZtQ",
"version" : {
"number" : "8.5.2",
"build_flavor" : "default",
"build_type" : "tar",
"build_hash" : "a846182fa16b4ebfcc89aa3c11a11fd5adf3de04",
"build_date" : "2022-11-17T18:56:17.538630285Z",
"build_snapshot" : false,
"lucene_version" : "9.4.1",
"minimum_wire_compatibility_version" : "7.17.0",
"minimum_index_compatibility_version" : "7.0.0"
},
"tagline" : "You Know, for Search"
}
Impacted categories
The following categories relate to this merge request:
-
gdk-reliability - e.g. When a GDK action fails to complete. -
gdk-usability - e.g. Improvements or suggestions around how the GDK functions. -
gdk-performance - e.g. When a GDK action is slow or times out.
Merge request checklist
-
This change is backward compatible. If not, please include steps to communicate to our users. -
Tests added for new functionality. If not, please raise an issue to follow-up. -
Documentation added/updated, if needed. -
gdk doctortest added, if needed. -
Add the ~highlightlabel if this MR should be included in theCHANGELOG.md.
Edited by Terri Chu