Repository navigation
Does Skywalking support Elasticsearch 9.x? #13600
|
Dears, My The Thank you. |
Replies: 2 comments 4 replies
|
I think we don't test that. So, you need to verify on your end first. Ideally, we are using general features of elastic, new version is not a problem unless some breaking changes are brought into the new version. |
|
Yes, starting with SkyWalking 11.0.0. Upgrade the OAP to 11.0.0 or later before you move the cluster to 9.x. To answer your follow-up about #13957 changed the check to if (major >= 8) { // 8.x, 9.x and later: typeless docs + composable index templates
requestFactory = new V81RequestFactory(this);
codec = V78Codec.INSTANCE;
return;
}(ElasticSearchVersion.java on master). The 11.0.0 changelog lists it as "Support Elasticsearch 9.x as storage." ("ITs" in the earlier reply means integration tests, such as If this solves it, please mark it as the answer so others with the same problem can find it. |
Yes, starting with SkyWalking 11.0.0. Upgrade the OAP to 11.0.0 or later before you move the cluster to 9.x.
To answer your follow-up about
ElasticSearchVersion: on 10.x and older it does throw. The ElasticSearch branch only acceptedmajor == 8, so a cluster that reports9.xfalls through tothrow new UnsupportedOperationException("Unsupported version: ElasticSearch 9.2")and the OAP won't start.#13957 changed the check to
major >= 8, so 9.x uses the same request factory and codec as 8.x (typeless docs plus composable index templates). It also added ES 9.3.0 to the integration tests and to the e2e storage matrix: