aloyszhang opened a new pull request #14248:
URL: https://github.com/apache/pulsar/pull/14248


   
   Fixes #14247 
   
   ### Motivation
   
   fix rack aware placement policy does not take effect after deleting rack 
configuration 
   
   ### Modifications
   
   1. when bookie's rack configuration is deleted, notify 
EnsemblePlacementPolicy the delete change
   2. add test for rack update
   
   ### Verifying this change
   
   - [ ] Make sure that the change passes the CI checks.
   
   *(Please pick either of the following options)*
   
   This change is a trivial rework / code cleanup without any test coverage.
   
   *(or)*
   
   This change is already covered by existing tests, such as *(please describe 
tests)*.
   
   *(or)*
   
   This change added tests and can be verified as follows: 
`RackAwareTest.testRackUpdate()`
   
   
   ### Does this pull request potentially affect one of the following parts:
   
   *If `yes` was chosen, please highlight the changes*
   
     - Dependencies (does it add or upgrade a dependency): (no)
     - The public API: (no)
     - The schema: (no)
     - The default values of configurations:  (no)
     - The wire protocol:  (no)
     - The rest endpoints:  (no)
     - The admin cli options:  (no)
     - Anything that affects deployment: (no)
   
   ### Documentation
   
     
   - [ ] `no-need-doc` 
     
     (Please explain why)
     
   
   
   


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