Skip to content

[Bug-fix] Ensure Prefetch setting doesn't trigger native cache rebuild#3217

Merged
navneet1v merged 2 commits intoopensearch-project:mainfrom
navneet1v:main
Mar 27, 2026
Merged

[Bug-fix] Ensure Prefetch setting doesn't trigger native cache rebuild#3217
navneet1v merged 2 commits intoopensearch-project:mainfrom
navneet1v:main

Conversation

@navneet1v
Copy link
Copy Markdown
Collaborator

@navneet1v navneet1v commented Mar 27, 2026

Description

Ensure Prefetch setting doesn't trigger native cache rebuild.

The problem was all the FF was going into cache rebuild consumer. I have separated them out to ensure that we have different function to get settings which rebuilds cache.

Related Issues

NA

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • API changes companion pull request created.
  • Commits are signed per the DCO using --signoff.
  • Public documentation issue/PR created.

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.

Signed-off-by: Navneet Verma <navneev@amazon.com>
@navneet1v navneet1v added Bug Fixes Changes to a system or product designed to handle a programming bug/glitch skip-changelog backport 3.6 labels Mar 27, 2026
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.11%. Comparing base (44df2eb) to head (d396c26).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##               main    #3217   +/-   ##
=========================================
  Coverage     83.11%   83.11%           
- Complexity     4209     4210    +1     
=========================================
  Files           453      453           
  Lines         15450    15455    +5     
  Branches       1972     1972           
=========================================
+ Hits          12841    12846    +5     
  Misses         1814     1814           
  Partials        795      795           

☔ 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.

Copy link
Copy Markdown
Collaborator

@Vikasht34 Vikasht34 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks Good

@navneet1v navneet1v merged commit dcac8ae into opensearch-project:main Mar 27, 2026
45 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Mar 27, 2026
#3217)

Signed-off-by: Navneet Verma <navneev@amazon.com>
(cherry picked from commit dcac8ae)
navneet1v added a commit that referenced this pull request Mar 27, 2026
#3217) (#3222)

(cherry picked from commit dcac8ae)

Signed-off-by: Navneet Verma <navneev@amazon.com>
Co-authored-by: Navneet Verma <navneev@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport 3.6 Bug Fixes Changes to a system or product designed to handle a programming bug/glitch skip-changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants