showuon commented on code in PR #12790:
URL: https://github.com/apache/kafka/pull/12790#discussion_r1005304318
##########
metadata/src/main/java/org/apache/kafka/controller/ReplicationControlManager.java:
##########
@@ -527,7 +527,7 @@ public void replay(RemoveTopicRecord record) {
if (colliding != null) {
colliding.remove(topic.name);
if (colliding.isEmpty()) {
- topicsWithCollisionChars.remove(topic.name);
+ topicsWithCollisionChars.remove(normalizedName);
Review Comment:
The key for `topicsWithCollisionChars` should be normalized name, not
original name.
--
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]