Skip to content

Add a dynamic setting to change skip_cache_factor and min_frequency for querycache #18351

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

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

kkewwei
Copy link
Collaborator

@kkewwei kkewwei commented May 21, 2025

Description

[Describe what this change achieves]

Related Issues

Resolves #17736

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.

@github-actions github-actions bot added enhancement Enhancement or improvement to existing feature or request Search:Performance v3.0.0 Issues and PRs related to version 3.0.0 labels May 21, 2025
@kkewwei kkewwei force-pushed the add_skip_factor branch from c31602e to bb809f7 Compare May 21, 2025 16:56
Copy link
Contributor

✅ Gradle check result for bb809f7: SUCCESS

Copy link

codecov bot commented May 21, 2025

Codecov Report

Attention: Patch coverage is 95.74468% with 2 lines in your changes missing coverage. Please review.

Project coverage is 72.73%. Comparing base (fe4a98d) to head (12f4192).
Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
...java/org/opensearch/indices/IndicesQueryCache.java 95.34% 0 Missing and 2 partials ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main   #18351      +/-   ##
============================================
+ Coverage     72.60%   72.73%   +0.12%     
- Complexity    67682    67759      +77     
============================================
  Files          5497     5497              
  Lines        311819   311859      +40     
  Branches      45265    45274       +9     
============================================
+ Hits         226409   226821     +412     
+ Misses        66941    66564     -377     
- Partials      18469    18474       +5     

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

@kkewwei kkewwei force-pushed the add_skip_factor branch 2 times, most recently from ed6544e to 4dac9a6 Compare May 23, 2025 15:56
@kkewwei kkewwei reopened this May 24, 2025
Copy link
Contributor

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

@kkewwei kkewwei closed this May 26, 2025
@kkewwei kkewwei reopened this May 26, 2025
Copy link
Contributor

❕ Gradle check result for 36c9282: 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.

@kkewwei
Copy link
Collaborator Author

kkewwei commented May 26, 2025

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

SearchIT.testSearchWithMatrixStats #18129

Copy link
Contributor

✅ Gradle check result for 58e444a: SUCCESS

Copy link
Contributor

❕ Gradle check result for 43ec899: 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.

@kkewwei
Copy link
Collaborator Author

kkewwei commented May 28, 2025

@sgup432 please help review in your spare time.

Copy link
Contributor

✅ Gradle check result for 43ec899: SUCCESS

Copy link
Contributor

✅ Gradle check result for 4048818: SUCCESS

@kkewwei kkewwei force-pushed the add_skip_factor branch from 4048818 to cb591e0 Compare May 30, 2025 01:14
Signed-off-by: kkewwei <kkewwei@163.com>
Signed-off-by: kkewwei <kewei.11@bytedance.com>
@kkewwei kkewwei force-pushed the add_skip_factor branch from cb591e0 to 12f4192 Compare May 30, 2025 01:17
Copy link
Contributor

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

Copy link
Contributor

@sgup432 sgup432 left a comment

Choose a reason for hiding this comment

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

LGTM!

@kkewwei
Copy link
Collaborator Author

kkewwei commented May 30, 2025

@sandeshkr419 Can you also help review in your spare time. If there is no problem, I will merge the pr.

@kkewwei kkewwei closed this May 30, 2025
@kkewwei kkewwei reopened this May 30, 2025
Copy link
Contributor

✅ Gradle check result for 12f4192: SUCCESS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement or improvement to existing feature or request Search:Performance 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.

[Query Cache] Add a dynamic cluster setting to change skip cache factor
2 participants