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 to Apache Lucene 9.4.0 (#4661) #4667

Merged
merged 1 commit into from
Oct 4, 2022

Conversation

reta
Copy link
Collaborator

@reta reta commented Oct 3, 2022

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

Description

Backport of #4661 to 2.x

Issues Resolved

[List any issues this PR will resolve]

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • Commits are signed per the DCO using --signoff
  • Commit changes are listed out in CHANGELOG.md file (See: Changelog)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@reta reta requested a review from a team as a code owner October 3, 2022 20:59
@reta reta added the backport PRs or issues specific to backporting features or enhancments label Oct 3, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Oct 3, 2022

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Contributor

github-actions bot commented Oct 3, 2022

Gradle Check (Jenkins) Run Completed with:

@andrross
Copy link
Member

andrross commented Oct 4, 2022

Looks like a legit failure? I think this constant needs to change on the 2.x branch.

»  java.lang.AssertionError: PerFieldMappingPostingFormatCodec must subclass the latest lucene codec: Lucene92
»  	at org.opensearch.index.codec.PerFieldMappingPostingFormatCodec.<clinit>(PerFieldMappingPostingFormatCodec.java:62)
»  	at org.opensearch.index.codec.CodecService.<init>(CodecService.java:68)
»  	at org.opensearch.index.shard.IndexShard.<init>(IndexShard.java:338)
»  	at org.opensearch.index.IndexService.createShard(IndexService.java:550)
»  	at org.opensearch.indices.IndicesService.createShard(IndicesService.java:866)
»  	at org.opensearch.indices.IndicesService.createShard(IndicesService.java:200)
»  	at org.opensearch.indices.cluster.IndicesClusterStateService.createShard(IndicesClusterStateService.java:651)
»  	at org.opensearch.indices.cluster.IndicesClusterStateService.createOrUpdateShards(IndicesClusterStateService.java:628)
»  	at org.opensearch.indices.cluster.IndicesClusterStateService.applyClusterState(IndicesClusterStateService.java:285)
»  	at org.opensearch.cluster.service.ClusterApplierService.callClusterStateAppliers(ClusterApplierService.java:606)
»  	at org.opensearch.cluster.service.ClusterApplierService.callClusterStateAppliers(ClusterApplierService.java:593)
»  	at org.opensearch.cluster.service.ClusterApplierService.applyChanges(ClusterApplierService.java:561)
»  	at org.opensearch.cluster.service.ClusterApplierService.runTask(ClusterApplierService.java:484)
»  	at org.opensearch.cluster.service.ClusterApplierService$UpdateTask.run(ClusterApplierService.java:186)
»  	at org.opensearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:747)
»  	at org.opensearch.common.util.concurrent.PrioritizedOpenSearchThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedOpenSearchThreadPoolExecutor.java:282)
»  	at org.opensearch.common.util.concurrent.PrioritizedOpenSearchThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedOpenSearchThreadPoolExecutor.java:245)
»  	at java.****/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
»  	at java.****/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
»  	at java.****/java.lang.Thread.run(Thread.java:833)

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

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
@reta reta force-pushed the update.lucene.94.2.x branch from 7f14bc9 to b34a124 Compare October 4, 2022 12:21
@github-actions
Copy link
Contributor

github-actions bot commented Oct 4, 2022

Gradle Check (Jenkins) Run Completed with:

@saratvemulapalli saratvemulapalli added v2.4.0 'Issues and PRs related to version v2.4.0' >upgrade Label used when upgrading library dependencies (e.g., Lucene) labels Oct 4, 2022
@saratvemulapalli saratvemulapalli merged commit 59176ec into opensearch-project:2.x Oct 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport PRs or issues specific to backporting features or enhancments >upgrade Label used when upgrading library dependencies (e.g., Lucene) v2.4.0 'Issues and PRs related to version v2.4.0'
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants