-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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][broker] Fix AvgShedder strategy check #23156
[fix][broker] Fix AvgShedder strategy check #23156
Conversation
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.
Do you know Why we have these two similar configs? This is confusing indeed.
@heesung-sn The |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #23156 +/- ##
============================================
+ Coverage 73.57% 74.53% +0.96%
- Complexity 32624 34102 +1478
============================================
Files 1877 1919 +42
Lines 139502 144269 +4767
Branches 15299 15778 +479
============================================
+ Hits 102638 107533 +4895
+ Misses 28908 28502 -406
- Partials 7956 8234 +278
Flags with carried forward coverage won't be shown. Click here to find out more.
|
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.
LGTM.
(cherry picked from commit 66cc754)
This bug fix is not included into branch 3.0, 3.2 and 3.3, we need to cherry pick it into 3.0 and 3.3 and wait for next release. @heesung-sn @Demogorgon314 @lhotari |
(cherry picked from commit 66cc754)
(cherry picked from commit 66cc754)
(cherry picked from commit 66cc754)
The person merging the PR should ensure that the release labels are on the PR before it gets merged. That's how the release manager knows what it planned for a release. @thetumbled Please find the information in this email: https://lists.apache.org/thread/ryyfv8o33yyw9hmo5gnxn71boocn3mzs . This information is currently missing from our contribution guide. |
@thetumbled The cherry-picking process is now documented in https://pulsar.apache.org/contribute/maintenance-process/ |
Motivation
The check for AvgShedder strategy is wrong, we should use
loadBalancerLoadPlacementStrategy
instead ofloadBalancerPlacementStrategy
.The
loadBalancerPlacementStrategy
is used bySimpleLoadManagerImpl
, and it is deprecated.Modifications
Use
loadBalancerLoadPlacementStrategy
instead ofloadBalancerPlacementStrategy
to check theAvgShedder
strategyDocumentation
doc
doc-required
doc-not-needed
doc-complete