-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Add buffer for allocation constraints and a switch to disable index b… #14515
Conversation
…alance constraint Signed-off-by: Gaurav Bafna <[email protected]>
...c/main/java/org/opensearch/cluster/routing/allocation/allocator/BalancedShardsAllocator.java
Outdated
Show resolved
Hide resolved
❌ Gradle check result for 950b9ab: 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: Gaurav Bafna <[email protected]>
...c/main/java/org/opensearch/cluster/routing/allocation/allocator/BalancedShardsAllocator.java
Outdated
Show resolved
Hide resolved
...c/main/java/org/opensearch/cluster/routing/allocation/allocator/BalancedShardsAllocator.java
Outdated
Show resolved
Hide resolved
❕ Gradle check result for cf053d2: 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. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #14515 +/- ##
============================================
+ Coverage 71.42% 71.74% +0.32%
- Complexity 59978 62123 +2145
============================================
Files 4985 5119 +134
Lines 282275 292022 +9747
Branches 40946 42212 +1266
============================================
+ Hits 201603 209522 +7919
- Misses 63999 65266 +1267
- Partials 16673 17234 +561 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Gaurav Bafna <[email protected]>
2bcc876
to
a82e4f5
Compare
❌ Gradle check result for 2bcc876: 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? |
server/src/main/java/org/opensearch/cluster/routing/allocation/ConstraintTypes.java
Show resolved
Hide resolved
server/src/main/java/org/opensearch/cluster/routing/allocation/Constraint.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/opensearch/cluster/routing/allocation/RebalanceConstraints.java
Show resolved
Hide resolved
...c/main/java/org/opensearch/cluster/routing/allocation/allocator/BalancedShardsAllocator.java
Show resolved
Hide resolved
Signed-off-by: Gaurav Bafna <[email protected]>
…alance constraint
Description
Add buffer for allocation constraints and a switch to disable index balance constraints
Related Issues
Resolves #[Issue number to be closed when this PR is merged]
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.