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

   
   ### Motivation
   
   The origin PR #12484 is merged into branch 2.7, but reverted in #16882 
because Unit test 
`BrokerBookieIsolationTest#testBookieIsilationWithSecondaryGroup` fails.
   
   The root cause is that `policies` and `localPolicies` are not updated after 
they are read from async process.
   
   ### Modifications
   
   1. Cherry-pick PR #12484
   2. Change `optPolicies, optLocalPolicies` to `policies, localPolicies` in 
   
https://github.com/merlimat/pulsar/blob/f53ddc13d7fb28f4c1bd73b23e7f3d8b7fc35591/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/BrokerService.java#L1209
   
   ### Verifying this change
   
   - [ ] Make sure that the change passes the CI checks.
   
   
   
   This change is already covered by existing tests, such as 
BrokerBookieIsolationTest#testBookieIsilationWithSecondaryGroup 
   
   
   ### Documentation
   
   Check the box below or label this PR directly.
   
   Need to update docs? 
     
   - [x] `doc-not-needed` 
   bug fix.
   


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