cmccabe commented on code in PR #17617:
URL: https://github.com/apache/kafka/pull/17617#discussion_r1825245360
##########
metadata/src/main/java/org/apache/kafka/controller/ReplicationControlManager.java:
##########
@@ -956,8 +978,10 @@ void deleteTopic(ControllerRequestContext context, Uuid
id, List<ApiMessageAndVe
throw new UnknownTopicIdException(UNKNOWN_TOPIC_ID.message());
}
int numPartitions = topic.parts.size();
+ log.trace("Deleting topic {} with ID {} and {} partitions",
topic.name, id, numPartitions);
try {
context.applyPartitionChangeQuota(numPartitions); // check
controller mutation quota
+ log.trace("Applied partition change quota for topic {} with ID
{}", topic.name, id);
Review Comment:
Do we know if there's even a quota set here? There might not be. A better
message might be "checked for a partition change quota on topic {} with ID {}"
--
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]