You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/09/06 08:00:17 UTC

[GitHub] [pulsar] 315157973 commented on a change in pull request #11928: Fix messages in TopicPolicies will never be cleaned up

315157973 commented on a change in pull request #11928:
URL: https://github.com/apache/pulsar/pull/11928#discussion_r702687641



##########
File path: pulsar-broker/src/main/java/org/apache/pulsar/broker/service/SystemTopicBasedTopicPoliciesService.java
##########
@@ -330,9 +343,6 @@ private void refreshTopicPoliciesCache(Message<PulsarEvent> msg) {
                 case UPDATE:
                     policiesCache.put(topicName, event.getPolicies());
                     break;
-                case DELETE:

Review comment:
       Indeed, for the compatibility, this code cannot be deleted now, I will add a comment here.
   But Topic's existing old data seems to need to provide additional tools to delete it.




-- 
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-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org