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

[Backport 2.x] [Bugfix] Fix cache maximum size settings not working properly with pluggable caching #17042

Merged
merged 3 commits into from
Jan 28, 2025

Conversation

peteralfonsi
Copy link
Contributor

Backport a436076 from #16636.

…uggable caching (opensearch-project#16636)

* Fix cache size setting

Signed-off-by: Peter Alfonsi <[email protected]>

* Changelog

Signed-off-by: Peter Alfonsi <[email protected]>

* Deprecate original IRC size setting

Signed-off-by: Peter Alfonsi <[email protected]>

* spotlessApply

Signed-off-by: Peter Alfonsi <[email protected]>

* Addressed Ankit's comments

Signed-off-by: Peter Alfonsi <[email protected]>

* Address Sagar's comment

Signed-off-by: Peter Alfonsi <[email protected]>

---------

Signed-off-by: Peter Alfonsi <[email protected]>
Signed-off-by: Peter Alfonsi <[email protected]>
Signed-off-by: Ankit Jain <[email protected]>
Co-authored-by: Peter Alfonsi <[email protected]>
Co-authored-by: Ankit Jain <[email protected]>
(cherry picked from commit a436076)
Copy link
Contributor

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

@peteralfonsi
Copy link
Contributor Author

Flaky test: #15944

@peteralfonsi peteralfonsi requested a review from cwperks as a code owner January 22, 2025 22:00
Copy link
Contributor

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

@peteralfonsi
Copy link
Contributor Author

Flaky test: #14324

Signed-off-by: Peter Alfonsi <[email protected]>
Copy link
Contributor

❕ Gradle check result for 35a180b: 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.

Copy link

codecov bot commented Jan 27, 2025

Codecov Report

Attention: Patch coverage is 89.18919% with 4 lines in your changes missing coverage. Please review.

Project coverage is 71.90%. Comparing base (bd885f7) to head (35a180b).
Report is 21 commits behind head on 2.x.

Files with missing lines Patch % Lines
...va/org/opensearch/indices/IndicesRequestCache.java 86.95% 3 Missing ⚠️
.../opensearch/common/cache/service/CacheService.java 85.71% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##                2.x   #17042      +/-   ##
============================================
+ Coverage     71.84%   71.90%   +0.06%     
- Complexity    65595    65657      +62     
============================================
  Files          5318     5319       +1     
  Lines        305846   305944      +98     
  Branches      44602    44619      +17     
============================================
+ Hits         219739   219994     +255     
+ Misses        67752    67679      -73     
+ Partials      18355    18271      -84     

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

@jainankitk jainankitk merged commit 64486b6 into opensearch-project:2.x Jan 28, 2025
45 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants