-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Update to use RandomAccessInput.readBytes bulk method #17555
Conversation
Signed-off-by: Asim Mahmood <asim.seng@gmail.com>
Thanks for the change @asimmahmood1 LGTM IMO we can wait for a couple of days until Nightlies run with JDK 21 then we can see the improvement with this change as well. @mch2 Please have a look. |
❌ Gradle check result for b5b5751: 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? |
Traced back the usage and looks like it's exclusively for StarTreeIndexing. @bharath-techie/@sandeshkr419 are there any benchmarks for this ? If not, we can merge this PR without waiting for Nightlies. |
❌ Gradle check result for b5b5751: 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? |
❌ Gradle check result for b5b5751: 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? |
❌ Gradle check result for b5b5751: 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? |
So odd, the gradle check says failed but the actual run has no failures: https://build.ci.opensearch.org/job/gradle-check/54399/
On the bwc test failed to start: https://build.ci.opensearch.org/job/gradle-check/54399/consoleText
|
❌ Gradle check result for b5b5751: 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? |
Now it failed with these. I think these are flaky tests.
|
❌ Gradle check result for b5b5751: 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? |
@asimmahmood1 Also, sync your custom branch |
❕ Gradle check result for d3e4e8c: UNSTABLE
Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #17555 +/- ##
============================================
- Coverage 72.43% 72.38% -0.06%
+ Complexity 65721 65686 -35
============================================
Files 5311 5311
Lines 304941 304934 -7
Branches 44228 44225 -3
============================================
- Hits 220890 220715 -175
- Misses 65952 66101 +149
- Partials 18099 18118 +19 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Description
This is a follow-up to Lucene change apache/lucene#12599. This class is used in StarTree feature, so maybe some performance benefits.
Other place I checked was FileCachedIndexInput and OnDemandBlockIndexInput but didn't require a change.
Note: I think the change is small enough to skip the ChangeLog. LGK if anyone feels differently.
Related Issues
Part of #16934
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.