lordcheng10 opened a new pull request #12604:
URL: https://github.com/apache/pulsar/pull/12604


   ### Motivation
   In the OverloadShedder strategy, to select a bundle on the broker, first 
select the one with the largest throughput for unloading, and at least unload a 
bundle from the broker, which may cause repeated unloads between brokers.
   
   
   ### Modifications
   In the OverloadShedder strategy, to select a bundle on the broker, first 
select the one with the largest throughput for unloading, and at least unload a 
bundle from the broker, which may cause repeated unloads between brokers:
   
https://github.com/apache/pulsar/blob/6b3fb4193857c324c748ea53ae5e6028137b2e35/pulsar-broker/src/main/java/org/apache/pulsar/broker/loadbalance/impl/OverloadShedder.java#L123-L126
   
   ### Documentation
   
   Check the box below and label this PR (if you have committer privilege).
   
   Need to update docs? 
   
   - [ ] `doc-required` 
     
     (If you need help on updating docs, create a doc issue)
     
   - [ ] `no-need-doc` 
     
     (Please explain why)
     
   - [ ] `doc` 
     
     (If this PR contains doc changes)
   
   
   


-- 
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]


Reply via email to