cmccabe commented on code in PR #19416: URL: https://github.com/apache/kafka/pull/19416#discussion_r2051551412
########## metadata/src/main/java/org/apache/kafka/controller/FeatureControlManager.java: ########## @@ -97,11 +106,30 @@ public FeatureControlManager build() { MetadataVersion.latestProduction().featureLevel())); quorumFeatures = new QuorumFeatures(0, localSupportedFeatures, List.of(0)); } + if (kraftVersionAccessor == null) { + kraftVersionAccessor = new KRaftVersionAccessor() { + private KRaftVersion version = KRaftVersion.LATEST_PRODUCTION; Review Comment: This way avoids updating all the tests, which I think is a reasonable goal. If a test doesn't care about this it shouldn't have to set it. -- 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: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org