Nicklee007 opened a new pull request, #19244:
URL: https://github.com/apache/pulsar/pull/19244

   ### Motivation
   we should check the `destinationBroker` whether is an inactive broker  and  
reject the unload request  when the `destinationBroker`  is set as an inactive 
destination. Otherwise the unload result not satisfied our expectation which 
will cause the bundle need unload more times.
   
   ### Modifications
   1. check `destinationBroker` before `setNamespaceBundleAffinity` in 
`unloadNamespaceBundle`;
   2.  add some unit test.
   
   ### Documentation
   - [X] `doc-not-needed` <!-- Your PR changes do not impact docs -->
   
   ### Matching PR in forked repository
   
   PR in forked repository: https://github.com/Nicklee007/pulsar/pull/7
   


-- 
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: commits-unsubscr...@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to