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

   ### Motivation
   
   
   * Fix `org.apache.pulsar.client.admin.Topics#removeReplicationClusters` not 
taking effect:  Because we have used `HierarchyTopicPolicies` to save 
topic-level policies,  so we shoud  removing `policies.getReplicationClusters() 
!= null`.
   
   ### Modifications
   
   * Removing  `policies.getReplicationClusters() != null` when topic-level 
policies updating
   
   ### Verifying this change
   
   - [x] Make sure that the change passes the CI checks.
   
   This change added tests and can be verified as follows:
   
   *(example:)*
     - *Added UT 
`org.apache.pulsar.broker.service.ReplicatorTopicPoliciesTest#testRemoveReplicationClusters`
   
   
   ### 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