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

[Remove] MainResponse version override cluster setting #3031

Conversation

nknize
Copy link
Collaborator

@nknize nknize commented Apr 21, 2022

With types removal OpenSearch 2.0.0 no longer supports HLRC compatibility with legacy clients.
This commit removes all 1.x logic to spoof the version as a legacy cluster.

closes #3023

OpenSearch 2.0.0 no longer needs HLRC compatibility with legacy clients. This
commit removes all logic to spoof the version as a legacy cluster.

Signed-off-by: Nicholas Walter Knize <[email protected]>
@nknize nknize added bug Something isn't working backwards-compatibility v3.0.0 Issues and PRs related to version 3.0.0 backport 2.x Backport to 2.x branch backport 2.0 Backport to 2.0 branch labels Apr 21, 2022
@nknize nknize requested review from a team and reta as code owners April 21, 2022 20:39
Copy link
Member

@dblock dblock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nknize Before we merge, care to please add a clear explanation in the PR description of why this is removed in 2.0 vs. 3.0 (#3023 (comment) and #3023 (comment) are confusing vs. what's being done here, so is it that making OpenSearch 2.0 compatible with ES 7.10 in this mode would be too much work given, for example the Lucene upgrade, or something else?).

@opensearch-ci-bot
Copy link
Collaborator

✅   Gradle Check success f49bb33
Log 4691

Reports 4691

@nknize nknize requested a review from dblock April 21, 2022 21:12
@nknize
Copy link
Collaborator Author

nknize commented Apr 21, 2022

Before we merge, care to please add a clear explanation in the PR description

Bleh. The description should've been updated in the merge comment too so commit history matches... Since we missed it here let's make sure to get it in the 2.x / 2.0 backport PR.

@nknize
Copy link
Collaborator Author

nknize commented Apr 21, 2022

Bleh. The description should've been updated

I amended the commit messages for both backport PRs.

nknize added a commit that referenced this pull request Apr 21, 2022
With types removal OpenSearch 2.0.0 no longer supports HLRC compatibility
with legacy clients. This commit removes all 1.x logic to spoof the
version as a legacy cluster.

Signed-off-by: Nicholas Walter Knize <[email protected]>
(cherry picked from commit cf78065)
nknize added a commit that referenced this pull request Apr 21, 2022
With types removal OpenSearch 2.0.0 no longer supports HLRC compatibility
with legacy clients. This commit removes all 1.x logic to spoof the
version as a legacy cluster.

Signed-off-by: Nicholas Walter Knize <[email protected]>
(cherry picked from commit cf78065)
nknize added a commit that referenced this pull request Apr 21, 2022
With types removal OpenSearch 2.0.0 no longer supports HLRC compatibility
with legacy clients. This commit removes all 1.x logic to spoof the
version as a legacy cluster.

Signed-off-by: Nicholas Walter Knize <[email protected]>
(cherry picked from commit cf78065)

Co-authored-by: Nick Knize <[email protected]>
nknize pushed a commit that referenced this pull request Apr 21, 2022
With types removal OpenSearch 2.0.0 no longer supports HLRC compatibility
with legacy clients. This commit removes all 1.x logic to spoof the
version as a legacy cluster.

Signed-off-by: Nicholas Walter Knize <[email protected]>
(cherry picked from commit cf78065)
nknize added a commit to nknize/OpenSearch that referenced this pull request Jun 7, 2022
nknize added a commit that referenced this pull request Jun 8, 2022
nknize added a commit that referenced this pull request Jun 8, 2022
#3032)" (#3530)

This reverts commit 199fbb8.

Signed-off-by: Nicholas Walter Knize <[email protected]>
(cherry picked from commit 069948a)
nknize pushed a commit that referenced this pull request Jun 9, 2022
#3032)" (#3530) (#3536)

This reverts commit 199fbb8.

Signed-off-by: Nicholas Walter Knize <[email protected]>
(cherry picked from commit 069948a)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x Backport to 2.x branch backport 2.0 Backport to 2.0 branch backwards-compatibility bug Something isn't working Severity-Blocker v3.0.0 Issues and PRs related to version 3.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Breaking changes with opensearch.http.override_main_response_version=true
5 participants