-
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
Fixed primary shard balance constraints getting unset #15996
base: main
Are you sure you want to change the base?
Fixed primary shard balance constraints getting unset #15996
Conversation
@peternied Can you please review? |
❌ Gradle check result for 360fbfa: 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? |
360fbfa
to
f161334
Compare
❌ Gradle check result for f161334: 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? |
f161334
to
ca907c7
Compare
❕ Gradle check result for ca907c7: 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 ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #15996 +/- ##
============================================
+ Coverage 72.19% 72.22% +0.02%
- Complexity 65304 65316 +12
============================================
Files 5301 5301
Lines 303774 303777 +3
Branches 44034 44034
============================================
+ Hits 219323 219406 +83
+ Misses 66458 66383 -75
+ Partials 17993 17988 -5 ☔ View full report in Codecov by Sentry. |
@patelsmit32123 Thanks for making this change and reaching out. @gbbafna @Bukhtawar @ashking94 Could one of you review this PR in my place? |
Hi @peternied, I will review this. Thanks @patelsmit32123 for making this change. Allow me some time to go over this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add a test (unit test or ITs) that covers the scenario mentioned in the issue #13429? The changes seem fine otherwise.
@ashking94 how to test the scenario? The problem is that the allocation constraints which are getting unset, they are not accessible from outside. |
Can we add some unit tests to ascertain that the behaviour works as expected? I see BalancedSingleShardTests where you can attempt to put the test against the delta. Let me know if this does not work. |
This PR is stalled because it has been open for 30 days with no activity. |
This PR is stalled because it has been open for 30 days with no activity. |
This PR is stalled because it has been open for 30 days with no activity. |
Signed-off-by: Smit Patel <[email protected]>
ca907c7
to
95a4058
Compare
❌ Gradle check result for 95a4058: 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? |
3b2e7d5
to
c43f192
Compare
@ashking94 I have added required unit test, please review |
❌ Gradle check result for c43f192: 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: Smit Patel <[email protected]>
c43f192
to
feacabc
Compare
Description
Fixed updating shard balance factor and other such settings were unsetting the prefer primary shard balance constraints.
Related Issues
#13429
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.