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

   ### Motivation
   Add `NamespacePolicies` and `AntiAffinity` check before unload bundle when 
`checkNamespaceBundleSplit`.
   When unload the bundle after split, It's better to guarantee there are at 
least one another broker can load those bundle which satisfy the 
NamespacePolicies and AntiAffinity. Otherwise the bundle may not load 
successfully and  cause the client reconnect frequently.
   
   ### Modifications
   1. add NamespacePolicies and AntiAffinity check before unload bundle when 
`checkNamespaceBundleSplit`.
   2. add some unit test.
   
   ### Documentation
   
   - [X] `doc-not-needed` 
   
   


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