jolshan commented on code in PR #18132:
URL: https://github.com/apache/kafka/pull/18132#discussion_r1881085486


##########
metadata/src/main/java/org/apache/kafka/controller/QuorumFeatures.java:
##########
@@ -63,7 +63,7 @@ public static Map<String, VersionRange> 
defaultFeatureMap(boolean enableUnstable
                     MetadataVersion.latestTesting().featureLevel() :
                     MetadataVersion.latestProduction().featureLevel()));
         for (Feature feature : Feature.PRODUCTION_FEATURES) {
-            short maxVersion = enableUnstable ? feature.latestTesting() : 
feature.latestProduction();
+            short maxVersion = enableUnstable ? feature.latestTesting() : 
feature.defaultLevel(MetadataVersion.LATEST_PRODUCTION);

Review Comment:
   Updated with the changes to the name and the test



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