heesung-sn commented on code in PR #20110:
URL: https://github.com/apache/pulsar/pull/20110#discussion_r1169480209


##########
pulsar-broker/src/main/java/org/apache/pulsar/PulsarClusterMetadataSetup.java:
##########
@@ -385,10 +385,19 @@ static void createNamespaceIfAbsent(PulsarResources 
resources, NamespaceName nam
             namespaceResources.createPolicies(namespaceName, policies);
         } else {
             log.info("Namespace {} already exists.", namespaceName);
-            namespaceResources.setPolicies(namespaceName, policies -> {

Review Comment:
   Like I mentioned in the PR description,
   
   This update redundantly triggers ZK watchers when restarting brokers.



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