jsancio commented on PR #19205:
URL: https://github.com/apache/kafka/pull/19205#issuecomment-2722295359
Even though the cluster metadata partition contains a feature level record
for kraft.version:
```
bin/kafka-dump-log.sh --files
/tmp/kraft-combined-logs/__cluster_metadata-0/00000000000000000000.log
--cluster-metadata-decoder | grep "kraft.version" | grep "FEATURE_LEVEL_RECORD"
| offset: 540 CreateTime: 1741886527606 keySize: -1 valueSize: 20 sequence:
-1 headerKeys: [] payload:
{"type":"FEATURE_LEVEL_RECORD","version":0,"data":{"name":"kraft.version","featureLevel":1}}
```
The controller's ApiVersions reports the correct kraft.version:
```
bin/kafka-features.sh --bootstrap-controller localhost:9093 describe
Feature: eligible.leader.replicas.version SupportedMinVersion: 0
SupportedMaxVersion: 1 FinalizedVersionLevel: 0 Epoch: 4579
Feature: group.version SupportedMinVersion: 0 SupportedMaxVersion: 1
FinalizedVersionLevel: 1 Epoch: 4579
Feature: kraft.version SupportedMinVersion: 0 SupportedMaxVersion: 1
FinalizedVersionLevel: 0 Epoch: 4579
Feature: metadata.version SupportedMinVersion: 3.3-IV3
SupportedMaxVersion: 4.0-IV3 FinalizedVersionLevel: 4.0-IV3 Epoch: 4579
Feature: transaction.version SupportedMinVersion: 0 SupportedMaxVersion:
2 FinalizedVersionLevel: 2 Epoch: 4579
```
The broker's ApiVersion reports the correct finalized kraft.version:
```
bin/kafka-features.sh --bootstrap-server localhost:9092 describe
Feature: eligible.leader.replicas.version SupportedMinVersion: 0
SupportedMaxVersion: 1 FinalizedVersionLevel: 0 Epoch: 5426
Feature: group.version SupportedMinVersion: 0 SupportedMaxVersion: 1
FinalizedVersionLevel: 1 Epoch: 5426
Feature: kraft.version SupportedMinVersion: 0 SupportedMaxVersion: 1
FinalizedVersionLevel: 0 Epoch: 5426
Feature: metadata.version SupportedMinVersion: 3.3-IV3
SupportedMaxVersion: 4.0-IV3 FinalizedVersionLevel: 4.0-IV3 Epoch: 5426
Feature: transaction.version SupportedMinVersion: 0 SupportedMaxVersion:
2 FinalizedVersionLevel: 2 Epoch: 5426
```
--
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]