-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Support Allocation Awareness for Search replicas #17652
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
Support Allocation Awareness for Search replicas #17652
Conversation
Signed-off-by: Vinay Krishna Pudyodu <[email protected]>
Signed-off-by: Vinay Krishna Pudyodu <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #17652 +/- ##
============================================
+ Coverage 72.29% 72.39% +0.10%
- Complexity 65900 66026 +126
============================================
Files 5350 5350
Lines 306185 306208 +23
Branches 44373 44375 +2
============================================
+ Hits 221347 221681 +334
+ Misses 66670 66438 -232
+ Partials 18168 18089 -79 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Signed-off-by: Vinay Krishna Pudyodu <[email protected]>
|
❌ Gradle check result for 5bdf41d: 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 5bdf41d: 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. |
...alClusterTest/java/org/opensearch/cluster/allocation/SearchReplicaAwarenessAllocationIT.java
Outdated
Show resolved
Hide resolved
...alClusterTest/java/org/opensearch/cluster/allocation/SearchReplicaAwarenessAllocationIT.java
Show resolved
Hide resolved
...alClusterTest/java/org/opensearch/cluster/allocation/SearchReplicaAwarenessAllocationIT.java
Outdated
Show resolved
Hide resolved
...alClusterTest/java/org/opensearch/cluster/allocation/SearchReplicaAwarenessAllocationIT.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/opensearch/cluster/routing/allocation/AwarenessReplicaBalance.java
Outdated
Show resolved
Hide resolved
.../main/java/org/opensearch/cluster/routing/allocation/decider/AwarenessAllocationDecider.java
Outdated
Show resolved
Hide resolved
.../main/java/org/opensearch/cluster/routing/allocation/decider/AwarenessAllocationDecider.java
Outdated
Show resolved
Hide resolved
.../main/java/org/opensearch/cluster/routing/allocation/decider/AwarenessAllocationDecider.java
Outdated
Show resolved
Hide resolved
.../main/java/org/opensearch/cluster/routing/allocation/decider/AwarenessAllocationDecider.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Vinay Krishna Pudyodu <[email protected]>
Signed-off-by: Vinay Krishna Pudyodu <[email protected]>
|
❌ Gradle check result for 2239ec7: 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? |
Signed-off-by: Vinay Krishna Pudyodu <[email protected]>
Signed-off-by: Vinay Krishna Pudyodu <[email protected]>
Signed-off-by: Vinay Krishna Pudyodu <[email protected]>
Signed-off-by: Vinay Krishna Pudyodu <[email protected]>
Signed-off-by: Vinay Krishna Pudyodu <[email protected]>
…17652) * Added allocation awareness attribute support for search replica Signed-off-by: Vinay Krishna Pudyodu <[email protected]> * Support allocation awareness balance for search replica Signed-off-by: Vinay Krishna Pudyodu <[email protected]> * Updated awareness balance condition Signed-off-by: Vinay Krishna Pudyodu <[email protected]> * Address PR comments Signed-off-by: Vinay Krishna Pudyodu <[email protected]> * updated the if condition check Signed-off-by: Vinay Krishna Pudyodu <[email protected]> * changes based on the PR comments, reducing diffs Signed-off-by: Vinay Krishna Pudyodu <[email protected]> * reducing the diffs Signed-off-by: Vinay Krishna Pudyodu <[email protected]> * removed unnecessary static keyword Signed-off-by: Vinay Krishna Pudyodu <[email protected]> --------- Signed-off-by: Vinay Krishna Pudyodu <[email protected]>
Description
This PR adds allocation awareness and awareness balance support for search replica
Related Issues
Resolves #16987
Resolves #17330
Related #15306
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.