hanmz opened a new pull request, #21906: URL: https://github.com/apache/pulsar/pull/21906
Fixes https://github.com/apache/pulsar/issues/21905 ### Motivation In class UniformLoadShedder, we add a fixed delta value of 1000 when calculating msgRateRequiredFromUnloadedBundles and msgThroughputRequiredFromUnloadedBundles.This will cause the load balancing strategy to fail in low traffic scenarios. ### Modifications Remove `delta` when calculating `msgRateRequiredFromUnloadedBundles` and `msgThroughputRequiredFromUnloadedBundles` ### Documentation <!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. --> - [ ] `doc` <!-- Your PR contains doc changes. --> - [ ] `doc-required` <!-- Your PR changes impact docs and you will update later --> - [x] `doc-not-needed` <!-- Your PR changes do not impact docs --> - [ ] `doc-complete` <!-- Docs have been already added --> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
