Support Allocation Awareness for Search replicas#17652
Support Allocation Awareness for Search replicas#17652mch2 merged 10 commits intoopensearch-project:mainfrom
Conversation
Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com>
Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com>
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 <vinkrish.neo@gmail.com>
|
❌ 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 <vinkrish.neo@gmail.com>
Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com>
|
❌ 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 <vinkrish.neo@gmail.com>
Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com>
Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com>
Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com>
Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com>
…17652) * Added allocation awareness attribute support for search replica Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com> * Support allocation awareness balance for search replica Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com> * Updated awareness balance condition Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com> * Address PR comments Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com> * updated the if condition check Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com> * changes based on the PR comments, reducing diffs Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com> * reducing the diffs Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com> * removed unnecessary static keyword Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com> --------- Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com>
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.