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

[Star tree] Moving compositeCodec to composite912Codec and dropping composite99Codec #16227

Merged
merged 3 commits into from
Oct 9, 2024

Conversation

bharath-techie
Copy link
Contributor

@bharath-techie bharath-techie commented Oct 8, 2024

Description

Since the composite / star tree index is under experimental flag and search changes are also not released yet - moving composite codec to 912 directly with support for lucene 9.12

Related Issues

Resolves #15333 (review)

Check List

  • Functionality includes testing.
  • API changes companion pull request created, if applicable.
  • Public documentation issue/PR created, if applicable.

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.

Copy link
Contributor

github-actions bot commented Oct 8, 2024

✅ Gradle check result for 64d6c32: SUCCESS

Copy link

codecov bot commented Oct 8, 2024

Codecov Report

Attention: Patch coverage is 93.33333% with 1 line in your changes missing coverage. Please review.

Project coverage is 71.91%. Comparing base (a81b868) to head (64d6c32).
Report is 51 commits behind head on main.

Files with missing lines Patch % Lines
...site/composite912/Composite912DocValuesWriter.java 83.33% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main   #16227      +/-   ##
============================================
- Coverage     71.94%   71.91%   -0.03%     
- Complexity    64612    64731     +119     
============================================
  Files          5298     5302       +4     
  Lines        301952   302472     +520     
  Branches      43627    43699      +72     
============================================
+ Hits         217247   217534     +287     
- Misses        66884    67095     +211     
- Partials      17821    17843      +22     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@reta
Copy link
Collaborator

reta commented Oct 8, 2024

@msfroh no concerns from you? Hopefully, we won't be having people playing with the codec for a sake of igenstion (without the search part),

@msfroh
Copy link
Collaborator

msfroh commented Oct 8, 2024

@msfroh no concerns from you? Hopefully, we won't be having people playing with the codec for a sake of igenstion (without the search part),

Yeah... if I recall correctly, we made no announcement regarding the star tree feature in 2.17, so someone would have had to comb through issues and explicitly enabled the indexing path. Why would they do that if the result is unsearchable?

I see this as a use of a feature flag to guard work in progress, which we should be able to do for features that cannot be implemented within a single release.

@msfroh msfroh merged commit b5917c5 into opensearch-project:main Oct 9, 2024
61 of 64 checks passed
@reta reta added the backport 2.x Backport to 2.x branch label Oct 9, 2024
@opensearch-trigger-bot
Copy link
Contributor

The backport to 2.x failed:

The process '/usr/bin/git' failed with exit code 128

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-16227-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 b5917c5c349c4c931fd278f59f5fadfbcf7f0379
# Push it to GitHub
git push --set-upstream origin backport/backport-16227-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 base branch is 2.x and the compare/head branch is backport/backport-16227-to-2.x.

@reta
Copy link
Collaborator

reta commented Oct 9, 2024

@bharath-techie could you please backport manually to 2.x? Thank you!

@bharath-techie bharath-techie added backport 2.x Backport to 2.x branch and removed backport-failed backport 2.x Backport to 2.x branch labels Oct 16, 2024
opensearch-trigger-bot bot pushed a commit that referenced this pull request Oct 16, 2024
…omposite99Codec (#16227)

* Refactoring builder tests
* composite912 codec refactor changes

---------

Signed-off-by: Bharathwaj G <[email protected]>
(cherry picked from commit b5917c5)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
reta pushed a commit that referenced this pull request Oct 16, 2024
…omposite99Codec (#16227) (#16346)

* Refactoring builder tests
* composite912 codec refactor changes

---------


(cherry picked from commit b5917c5)

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>
dk2k pushed a commit to dk2k/OpenSearch that referenced this pull request Oct 16, 2024
…omposite99Codec (opensearch-project#16227)

* Refactoring builder tests
* composite912 codec refactor changes

---------

Signed-off-by: Bharathwaj G <[email protected]>
dk2k pushed a commit to dk2k/OpenSearch that referenced this pull request Oct 17, 2024
…omposite99Codec (opensearch-project#16227)

* Refactoring builder tests
* composite912 codec refactor changes

---------

Signed-off-by: Bharathwaj G <[email protected]>
dk2k pushed a commit to dk2k/OpenSearch that referenced this pull request Oct 21, 2024
…omposite99Codec (opensearch-project#16227)

* Refactoring builder tests
* composite912 codec refactor changes

---------

Signed-off-by: Bharathwaj G <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x Backport to 2.x branch skip-changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants