kevin-wu24 commented on code in PR #21053:
URL: https://github.com/apache/kafka/pull/21053#discussion_r2591211571


##########
metadata/src/main/java/org/apache/kafka/controller/ConfigurationControlManager.java:
##########
@@ -508,6 +509,16 @@ private List<String> getParts(String value, String key, 
ConfigResource configRes
      */
     public void replay(ConfigRecord record) {
         Type type = Type.forId(record.resourceType());
+        // Filter out invalid configs

Review Comment:
   We do not need this change. When upgrading the software version, the 
controller that becomes active must load its most recent snapshot from disk, 
and that will clean up the `MetadataImage`.



-- 
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]

Reply via email to