-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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 --enable-preview feature flag since Apache Lucene now patches class files #5642
Remove --enable-preview feature flag since Apache Lucene now patches class files #5642
Conversation
…class files Signed-off-by: Andriy Redko <[email protected]>
bb221b7
to
569dea7
Compare
Gradle Check (Jenkins) Run Completed with:
|
Codecov Report
@@ Coverage Diff @@
## main #5642 +/- ##
============================================
- Coverage 71.02% 70.86% -0.16%
+ Complexity 58574 58534 -40
============================================
Files 4759 4759
Lines 279476 279476
Branches 40345 40345
============================================
- Hits 198484 198039 -445
- Misses 64883 65238 +355
- Partials 16109 16199 +90
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Gradle Check (Jenkins) Run Completed with:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @reta for the change.
@@ -61,6 +61,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | |||
- Changed http code on create index API with bad input raising NotXContentException from 500 to 400 ([#4773](https://github.com/opensearch-project/OpenSearch/pull/4773)) | |||
- Change http code for DecommissioningFailedException from 500 to 400 ([#5283](https://github.com/opensearch-project/OpenSearch/pull/5283)) | |||
- Pre conditions check before updating weighted routing metadata ([#4955](https://github.com/opensearch-project/OpenSearch/pull/4955)) | |||
- Remove --enable-preview feature flag since Apache Lucene now patches class files ([#5642](https://github.com/opensearch-project/OpenSearch/pull/5642)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since the above changelog entry "Allow mmap to use new JDK-19 preview APIs" was never included a release, should the net result be the removal of that line and no new line here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I think we could remove that, will take care of the changelog, thanks @andrross
Signed-off-by: Andriy Redko [email protected]
Description
This is follow up on [2] to remove
--enable-preview
feature flag since the latest Apache Lucene 9.5 now patches class files directly [1] to circumventpreview
flag requirements.No backport needed, this is Apache Lucene 9.5 feature
[1] https://github.com/apache/lucene/pull/12033/files
[2] #4637
Issues Resolved
Follow up on #4637
Check List
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.