codelipenghui commented on code in PR #21087:
URL: https://github.com/apache/pulsar/pull/21087#discussion_r1314451134
##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/impl/NamespacesBase.java:
##########
@@ -279,12 +279,6 @@ private void
internalRetryableDeleteNamespaceAsync0(boolean force, int retryTime
return old;
});
}
- allUserCreatedTopics.removeIf(t ->
-
allPartitionedTopics.contains(TopicName.get(t).getPartitionedTopicName()));
- allSystemTopics.removeIf(t ->
-
allPartitionedTopics.contains(TopicName.get(t).getPartitionedTopicName()));
- topicPolicy.removeIf(t ->
-
allPartitionedTopics.contains(TopicName.get(t).getPartitionedTopicName()));
Review Comment:
Is it possible to have a test to protect the behavior?
--
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]