-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Fix NODE_SEARCH_CACHE_SIZE_SETTING initialization for TIERED_REMOTE_INDEX_SETTING feature #15076
Fix NODE_SEARCH_CACHE_SIZE_SETTING initialization for TIERED_REMOTE_INDEX_SETTING feature #15076
Conversation
f5cf1c2
to
379f283
Compare
❌ Gradle check result for f5cf1c2: 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? |
❌ Gradle check result for 379f283: 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? |
So this was just a mistake, cache is used by search nodes and therefore should be initialized at 80%? |
❌ Gradle check result for 379f283: 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? |
for dedicated search nodes, yes thats the default. |
@neetikasinghal can you please rebase? d4e7766 should fix the build failures. |
379f283
to
ac06640
Compare
❌ Gradle check result for ac06640: 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? |
@neetikasinghal I think this failure might be related to your change
|
looks like this test needs an update, let me update it. |
ac06640
to
e235bbf
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #15076 +/- ##
============================================
- Coverage 71.82% 71.80% -0.03%
- Complexity 62778 62801 +23
============================================
Files 5169 5169
Lines 294646 294664 +18
Branches 42610 42615 +5
============================================
- Hits 211644 211576 -68
- Misses 65573 65692 +119
+ Partials 17429 17396 -33 ☔ View full report in Codecov by Sentry. |
server/src/internalClusterTest/java/org/opensearch/snapshots/SearchableSnapshotIT.java
Show resolved
Hide resolved
…NDEX_SETTING feature Signed-off-by: Neetika Singhal <[email protected]>
e235bbf
to
f3f4201
Compare
…NDEX_SETTING feature (#15076) Signed-off-by: Neetika Singhal <[email protected]> (cherry picked from commit f0ef14d) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…NDEX_SETTING feature (#15076) (#15116) (cherry picked from commit f0ef14d) Signed-off-by: Neetika Singhal <[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>
…NDEX_SETTING feature (opensearch-project#15076) Signed-off-by: Neetika Singhal <[email protected]>
…NDEX_SETTING feature (opensearch-project#15076) Signed-off-by: Neetika Singhal <[email protected]>
…NDEX_SETTING feature (opensearch-project#15076) Signed-off-by: Neetika Singhal <[email protected]>
Description
This pr fixes NODE_SEARCH_CACHE_SIZE_SETTING initialization for TIERED_REMOTE_INDEX_SETTING feature.
As per current logic, if TIERED_REMOTE_INDEX_SETTING feature flag is enabled, the cache size will always be initialized to 80% irrespective of its search role.
Check List
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.