-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[Star tree] Star tree file formats refactoring and fixing offset bug #15975
[Star tree] Star tree file formats refactoring and fixing offset bug #15975
Conversation
❌ Gradle check result for f6d3ca9: 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? |
server/src/main/java/org/opensearch/index/compositeindex/CompositeIndexConstants.java
Outdated
Show resolved
Hide resolved
67e8e7e
to
14a7575
Compare
❌ Gradle check result for 67e8e7e: 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 14a7575: 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? |
cb324b6
to
b4f38ea
Compare
❌ Gradle check result for b4f38ea: 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 b4f38ea: 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 ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #15975 +/- ##
============================================
+ Coverage 71.90% 71.92% +0.02%
+ Complexity 64392 64351 -41
============================================
Files 5278 5280 +2
Lines 300877 300870 -7
Branches 43478 43476 -2
============================================
+ Hits 216351 216412 +61
+ Misses 66747 66655 -92
- Partials 17779 17803 +24 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Bharathwaj G <[email protected]> (cherry picked from commit 80ff07e) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…project#15975) Signed-off-by: Bharathwaj G <[email protected]>
The backport to
To backport manually, run these commands in your terminal: # Navigate to the root of your repository
cd $(git rev-parse --show-toplevel)
# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/OpenSearch/backport-2.x 2.x
# Navigate to the new working tree
pushd ../.worktrees/OpenSearch/backport-2.x
# Create a new branch
git switch --create backport/backport-15975-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 80ff07eb0c5485832e6fcbc46a9d100435ed3051
# Push it to GitHub
git push --set-upstream origin backport/backport-15975-to-2.x
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/OpenSearch/backport-2.x Then, create a pull request where the |
The backport to
To backport manually, run these commands in your terminal: # Navigate to the root of your repository
cd $(git rev-parse --show-toplevel)
# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/OpenSearch/backport-2.x 2.x
# Navigate to the new working tree
pushd ../.worktrees/OpenSearch/backport-2.x
# Create a new branch
git switch --create backport/backport-15975-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 80ff07eb0c5485832e6fcbc46a9d100435ed3051
# Push it to GitHub
git push --set-upstream origin backport/backport-15975-to-2.x
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/OpenSearch/backport-2.x Then, create a pull request where the |
…project#15975) Signed-off-by: Bharathwaj G <[email protected]>
…5991) (cherry picked from commit 80ff07e) Signed-off-by: Bharathwaj G <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…project#15975) Signed-off-by: Bharathwaj G <[email protected]>
…project#15975) Signed-off-by: Bharathwaj G <[email protected]>
…project#15975) Signed-off-by: Bharathwaj G <[email protected]>
Description
This PR removes the exposure of
DocIdSetIterator
in the file formats flow.So, in order to prevent exposing DISI directly as part of star tree file format readers , this change contains a simple wrapper iterator that abstracts the DISI , and exposes relevant methods tied to star tree to retrieve the values.
Apart from this also fixing a bug where file size greater than Integer.MaxValue is not handled correctly.
Related Issues
#15974 - issue for the bug found with offsets
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.