-
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] The configuration loadBalancerNamespaceMaximumBundles is invalid #16552
Conversation
Can you add a unit test to cover this case? |
@lordcheng10 Could you please provide more details about the BUG? so that the reviewers can easily understand what the issue is that the PR wants to fix. |
Sorry, I didn't describe clearly. @codelipenghui I'll give an example to illustrate:
|
OK |
Make sense. |
When judging whether the number of bundles exceeds the configuration, it is necessary to add the already selected bundles. @codelipenghui @Technoboy- |
/pulsarbot run-failure-checks |
/pulsarbot run-failure-checks |
1 similar comment
/pulsarbot run-failure-checks |
/pulsarbot run-failure-checks |
2 similar comments
/pulsarbot run-failure-checks |
/pulsarbot run-failure-checks |
added a unit test : testLoadBalancerNamespaceMaximumBundles PTAL,thanks! @Demogorgon314 @codelipenghui |
/pulsarbot run-failure-checks |
2 similar comments
/pulsarbot run-failure-checks |
/pulsarbot run-failure-checks |
/pulsarbot run-failure-checks |
9 similar comments
/pulsarbot run-failure-checks |
/pulsarbot run-failure-checks |
/pulsarbot run-failure-checks |
/pulsarbot run-failure-checks |
/pulsarbot run-failure-checks |
/pulsarbot run-failure-checks |
/pulsarbot run-failure-checks |
/pulsarbot run-failure-checks |
/pulsarbot run-failure-checks |
...r-broker/src/test/java/org/apache/pulsar/broker/loadbalance/impl/BundleSplitterTaskTest.java
Outdated
Show resolved
Hide resolved
/pulsarbot run-failure-checks |
@codelipenghui @aloyszhang PTAL,thanks! |
…s invalid (apache#16552) (cherry picked from commit 5698b08) (cherry picked from commit a0133e9)
Motivation
The configuration loadBalancerNamespaceMaximumBundles is invalid.
example to illustrate:
modified logic:
Documentation
Check the box below or label this PR directly.
Need to update docs?
doc-required
(Your PR needs to update docs and you will update later)
doc-not-needed
(Please explain why)
doc
(Your PR contains doc changes)
doc-complete
(Docs have been already added)