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] Update Apache Lucene to 9.12.0 (#15333) #16211

Merged
merged 1 commit into from
Oct 8, 2024

Conversation

reta
Copy link
Collaborator

@reta reta commented Oct 7, 2024

Backport of #15333 to 2.x

Copy link
Contributor

github-actions bot commented Oct 7, 2024

❌ Gradle check result for 3594150: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

@reta reta force-pushed the backport/backport-15333-to-2.x branch from 3594150 to 9090acf Compare October 7, 2024 12:54
Copy link
Contributor

github-actions bot commented Oct 7, 2024

❌ Gradle check result for 9090acf: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

@reta reta force-pushed the backport/backport-15333-to-2.x branch from 9090acf to faab048 Compare October 7, 2024 13:09
Copy link
Contributor

github-actions bot commented Oct 7, 2024

❌ Gradle check result for faab048: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

* Update Apache Lucene to 9.12.0

Signed-off-by: Andriy Redko <[email protected]>

* change to IOContext READONCE in locations where the file is not expected to be read multiple times.

Signed-off-by: Marc Handalian <[email protected]>

* Use READ IOContext for all non Segment* files when copying node-node

Signed-off-by: Marc Handalian <[email protected]>

* Fixing more test failures

Signed-off-by: Andriy Redko <[email protected]>

* Move Composite912Codec under org.opensearch.index.codec.composite.composite912 package

Signed-off-by: Andriy Redko <[email protected]>

---------

Signed-off-by: Andriy Redko <[email protected]>
Signed-off-by: Marc Handalian <[email protected]>
Co-authored-by: Marc Handalian <[email protected]>
(cherry picked from commit 146b0f7)
Signed-off-by: Andriy Redko <[email protected]>
@reta reta force-pushed the backport/backport-15333-to-2.x branch from faab048 to 3eb7a76 Compare October 7, 2024 13:45
Copy link
Contributor

github-actions bot commented Oct 7, 2024

❌ Gradle check result for 3eb7a76: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

Copy link
Contributor

github-actions bot commented Oct 7, 2024

❌ Gradle check result for 3eb7a76: TIMEOUT

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

Copy link
Contributor

github-actions bot commented Oct 7, 2024

❌ Gradle check result for 3eb7a76: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

@reta
Copy link
Collaborator Author

reta commented Oct 7, 2024

@msfroh please, Apache Lucene 9.12.0 backport, thank you!

Copy link
Contributor

github-actions bot commented Oct 7, 2024

✅ Gradle check result for 3eb7a76: SUCCESS

Copy link

codecov bot commented Oct 7, 2024

Codecov Report

Attention: Patch coverage is 87.03704% with 7 lines in your changes missing coverage. Please review.

Project coverage is 71.82%. Comparing base (704e498) to head (3eb7a76).
Report is 9 commits behind head on 2.x.

Files with missing lines Patch % Lines
...in/java/org/apache/lucene/util/CombinedBitSet.java 77.77% 0 Missing and 2 partials ⚠️
.../java/org/opensearch/index/codec/CodecService.java 66.66% 2 Missing ⚠️
...main/java/org/opensearch/common/lucene/Lucene.java 0.00% 1 Missing ⚠️
...opensearch/index/mapper/CompletionFieldMapper.java 0.00% 1 Missing ⚠️
...ensearch/index/similarity/SimilarityProviders.java 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##                2.x   #16211      +/-   ##
============================================
+ Coverage     71.72%   71.82%   +0.09%     
- Complexity    64773    64888     +115     
============================================
  Files          5284     5285       +1     
  Lines        303053   303068      +15     
  Branches      44086    44089       +3     
============================================
+ Hits         217372   217676     +304     
+ Misses        67457    67215     -242     
+ Partials      18224    18177      -47     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@reta reta merged commit 2585a23 into opensearch-project:2.x Oct 8, 2024
34 of 35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file v2.18.0 Issues and PRs related to version 2.18.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants