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.x] Remove error path for ancient compression detection #7939

Merged
merged 1 commit into from
Jun 7, 2023

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport 4592d7c from #7932.

@github-actions
Copy link
Contributor

github-actions bot commented Jun 6, 2023

Gradle Check (Jenkins) Run Completed with:

@codecov
Copy link

codecov bot commented Jun 6, 2023

Codecov Report

Merging #7939 (416d261) into 2.x (2d289a4) will decrease coverage by 0.07%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##                2.x    #7939      +/-   ##
============================================
- Coverage     70.50%   70.44%   -0.07%     
+ Complexity    56478    56442      -36     
============================================
  Files          4673     4673              
  Lines        267923   267919       -4     
  Branches      39647    39646       -1     
============================================
- Hits         188909   188738     -171     
- Misses        62693    62891     +198     
+ Partials      16321    16290      -31     
Impacted Files Coverage Δ
.../opensearch/common/compress/CompressorFactory.java 57.14% <100.00%> (+5.14%) ⬆️

... and 493 files with indirect coverage changes

@github-actions
Copy link
Contributor

github-actions bot commented Jun 6, 2023

Gradle Check (Jenkins) Run Completed with:

The error message generated by this code path refers to Elasticsearch
version 2.0.0.beta1, which is likely to cause confusion with the
OpenSearch 2.x line if it were ever to be encountered. The ES2 version
is so old that I don't think we need any special handling here and can
just fall back to the default "not xcontent" error message.

Signed-off-by: Andrew Ross <[email protected]>
(cherry picked from commit 4592d7c)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@andrross andrross force-pushed the backport/backport-7932-to-2.x branch from ce1ffeb to 416d261 Compare June 6, 2023 22:51
@github-actions
Copy link
Contributor

github-actions bot commented Jun 6, 2023

Gradle Check (Jenkins) Run Completed with:

  • RESULT: UNSTABLE ❕
  • TEST FAILURES:
      2 org.opensearch.search.SearchWeightedRoutingIT.testStrictWeightedRoutingWithCustomString

@andrross andrross merged commit 55af919 into 2.x Jun 7, 2023
@github-actions github-actions bot deleted the backport/backport-7932-to-2.x branch June 7, 2023 17:48
gaiksaya pushed a commit to gaiksaya/OpenSearch that referenced this pull request Jun 26, 2023
…ct#7932) (opensearch-project#7939)

The error message generated by this code path refers to Elasticsearch
version 2.0.0.beta1, which is likely to cause confusion with the
OpenSearch 2.x line if it were ever to be encountered. The ES2 version
is so old that I don't think we need any special handling here and can
just fall back to the default "not xcontent" error message.


(cherry picked from commit 4592d7c)

Signed-off-by: Andrew Ross <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants