dengziming opened a new pull request, #12294:
URL: https://github.com/apache/kafka/pull/12294

   *More detailed description of your change*
   Update metadata.version using admin will fail with the following exception:
   ```
   java.util.concurrent.ExecutionException: 
org.apache.kafka.common.errors.InvalidUpdateVersionException: Invalid update 
version 7 for feature metadata.version. Controller 3000 does not support this 
feature.
   ```
   
   This is because we just return empty supported features in Controller 
ApiVersionResponse, so `QuorumFeatures.reasonNotSupported` will always assume 
we don't support this version.
   
   *Summary of testing strategy (including rationale)*
   KRaftClusterTest.testUpdateMetadataVersion
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   


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