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

[Backport 2.0] Fix minimum index compatibility error message #3172

Merged
merged 1 commit into from
May 3, 2022

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport 300620e from #3159

This is a very simple fix that adds a special case for the backward
compatibility message for OS 1.x/ES 7.x. This basically mirrors a
special case already codified in [Version][1]. I think this is a
reasonable fix because it allows the message to be quite verbose. It
should also only need to exist on the 2.x branch of OpenSearch since it
is a special case that will no longer exist in 3.x when the entire
LegacyESVersion concept can be removed from the code base.

[1]: https://github.com/opensearch-project/OpenSearch/blob/cb238aae616d6a0fd8f82e128a1f94c8e4e8b1f7/server/src/main/java/org/opensearch/Version.java#L398

Signed-off-by: Andrew Ross <andrross@amazon.com>
(cherry picked from commit 300620e)
@opensearch-trigger-bot opensearch-trigger-bot bot requested a review from a team as a code owner May 3, 2022 21:25
@opensearch-ci-bot
Copy link
Collaborator

✅   Gradle Check success 8f93da5
Log 4967

Reports 4967

@andrross andrross merged commit 18d1d27 into 2.0 May 3, 2022
@github-actions github-actions bot deleted the backport/backport-3159-to-2.0 branch May 3, 2022 22:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants