Skip to content

[Backport] [2.x] Update Apache Lucene to 9.12.0 (#15333)#16211

Merged
reta merged 1 commit intoopensearch-project:2.xfrom
reta:backport/backport-15333-to-2.x
Oct 8, 2024
Merged

[Backport] [2.x] Update Apache Lucene to 9.12.0 (#15333)#16211
reta merged 1 commit intoopensearch-project:2.xfrom
reta:backport/backport-15333-to-2.x

Conversation

@reta
Copy link
Copy Markdown
Contributor

@reta reta commented Oct 7, 2024

Backport of #15333 to 2.x

@github-actions
Copy link
Copy Markdown
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
@github-actions
Copy link
Copy Markdown
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
@github-actions
Copy link
Copy Markdown
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 <andriy.redko@aiven.io>

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

Signed-off-by: Marc Handalian <marc.handalian@gmail.com>

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

Signed-off-by: Marc Handalian <marc.handalian@gmail.com>

* Fixing more test failures

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>

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

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>

---------

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
Signed-off-by: Marc Handalian <marc.handalian@gmail.com>
Co-authored-by: Marc Handalian <marc.handalian@gmail.com>
(cherry picked from commit 146b0f7)
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
@reta reta force-pushed the backport/backport-15333-to-2.x branch from faab048 to 3eb7a76 Compare October 7, 2024 13:45
@github-actions
Copy link
Copy Markdown
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?

@github-actions
Copy link
Copy Markdown
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?

@github-actions
Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

reta commented Oct 7, 2024

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

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Oct 7, 2024

✅ Gradle check result for 3eb7a76: SUCCESS

@codecov
Copy link
Copy Markdown

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.

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