coderzc commented on code in PR #21231: URL: https://github.com/apache/pulsar/pull/21231#discussion_r1334057522
########## pulsar-broker/src/main/java/org/apache/pulsar/broker/service/SystemTopicBasedTopicPoliciesService.java: ########## @@ -381,8 +422,7 @@ private void initPolicesCache(SystemTopicClient.Reader<PulsarEvent> reader, Comp if (log.isDebugEnabled()) { log.debug("[{}] Reach the end of the system topic.", reader.getSystemTopic().getTopicName()); } - policyCacheInitMap.computeIfPresent( - reader.getSystemTopic().getTopicName().getNamespaceObject(), (k, v) -> true); Review Comment: It doesn't seem to be possible to remove this, only when the execution reaches this line does it mean that init is completed. -- 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: commits-unsubscr...@pulsar.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org