Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Compatibility of opensearch-java:2.12 client with 1.x OpenSearch, specific 1.3.2 #1108

Open
phuc98ute opened this issue Jul 25, 2024 · 1 comment
Labels
question Further information is requested

Comments

@phuc98ute
Copy link

phuc98ute commented Jul 25, 2024

What is the bug?

When migrating the OpenSearch cluster from 1.3.2 to the latest AWS OpenSearch version 2.13, I struggled to find a proper opensearch-java client version to work for both OpenSearch cluster 1.3.2 and version 2.13. I have multiple OpenSearch clusters on production running at version 1.3.2, and they cannot upgrade the version simultaneously.
Based on the COMPATIBILITY here, the current opensearch-java client 2.12 just support from OpenSearch 1.3.13-2.x.
I found in your integration-test here, I found tests with OpenSearch 1.0.1, 1.1.0, 1.2.4 and test are pass.
Why does the document indicate that the compatibility version for opensearch-java library requires newer than 1.3.13?
We are unable to process the upgrade on production in case your document mentions that our OpenSearch version 1.3.2 is out of the supported version.

How can one reproduce the bug?

No steps to reproduce

What is the expected behavior?

A compatibility client version works well for both AWS OpenSearch 1.3.2 and the latest version 2.13

What is your host/environment?

AWS OpenSearch 1.3.2, AWS OpenSearch 2.13

Do you have any screenshots?

No

Do you have any additional context?

No

@phuc98ute phuc98ute added bug Something isn't working untriaged labels Jul 25, 2024
@phuc98ute phuc98ute changed the title [BUG] Compatibility of opensearch-java:2.15 client with 1.x OpenSearch, specific 1.3.2 [BUG] Compatibility of opensearch-java:2.12 client with 1.x OpenSearch, specific 1.3.2 Jul 25, 2024
@dblock
Copy link
Member

dblock commented Jul 25, 2024

I think the reason for this is purely because only the latest 1.x OpenSearch is officially supported. The doc in https://opensearch.org/releases.html says "The last minor version of the previous major version of the software will then enter a maintenance window (e.g., 1.3.x). During the maintenance window, the software will continue to receive bug fixes and security patches, but no new features."

It allows us to keep the test matrix smaller if needed, but we don't on purpose break compatibility with the entire 1.x line.

I think if you have tested the migration, you're all good! Do you need the words in the docs to say different things? Is there something we can add there short of "supported"? Would you like to suggest some language in a PR?

We'd also appreciate an update to the CI to the latest 1.3.x to confirm they pass.

@dblock dblock added question Further information is requested and removed bug Something isn't working untriaged labels Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants