Skip to content

[Bug-fix] Fix redundant loading of global ordinals #18059

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

Merged
merged 1 commit into from
Apr 28, 2025

Conversation

sandeshkr419
Copy link
Member

@sandeshkr419 sandeshkr419 commented Apr 23, 2025

Description

Loading global ordinals is expensive. So loading up global ordinals only when absolutely required and ensuring that the search request does not loads up global ordinals multiple times.

Related Issues

Resolves #17979

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

❌ Gradle check result for 7e7ce79: 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?

@sandeshkr419 sandeshkr419 reopened this Apr 23, 2025
Copy link
Contributor

✅ Gradle check result for 7e7ce79: SUCCESS

Copy link

codecov bot commented Apr 23, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 72.49%. Comparing base (54e02a7) to head (7e7ce79).
Report is 22 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main   #18059      +/-   ##
============================================
+ Coverage     72.47%   72.49%   +0.01%     
- Complexity    67034    67101      +67     
============================================
  Files          5478     5473       -5     
  Lines        310132   310067      -65     
  Branches      45087    45053      -34     
============================================
- Hits         224775   224769       -6     
+ Misses        66960    66934      -26     
+ Partials      18397    18364      -33     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@sandeshkr419 sandeshkr419 requested a review from jainankitk April 26, 2025 09:15
@andrross andrross merged commit 1d998f1 into opensearch-project:main Apr 28, 2025
96 of 105 checks passed
@sandeshkr419 sandeshkr419 deleted the go1 branch April 28, 2025 18:56
opensearch-trigger-bot bot pushed a commit that referenced this pull request Apr 28, 2025
Signed-off-by: Sandesh Kumar <[email protected]>
(cherry picked from commit 1d998f1)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
peterzhuamazon pushed a commit that referenced this pull request Apr 28, 2025
(cherry picked from commit 1d998f1)

Signed-off-by: Sandesh Kumar <[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>
prudhvigodithi pushed a commit to prudhvigodithi/OpenSearch that referenced this pull request May 6, 2025
…pensearch-project#18112)

(cherry picked from commit 1d998f1)

Signed-off-by: Sandesh Kumar <[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>
Signed-off-by: Prudhvi Godithi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 3.0 bug Something isn't working Search:Aggregations skip-changelog v3.0.0 Issues and PRs related to version 3.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] reduced performance on GlobalOrdinalsStringTermsAggregator
4 participants