[
https://issues.apache.org/jira/browse/KAFKA-18938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rameshkanna N updated KAFKA-18938:
----------------------------------
Description:
I am using Kafka {*}3.9.0{*}. When starting a {*}KRaft controller{*}, it shows
{*}metadata version 3.0-IV1{*}, but when formatting storage, it shows
{*}version 3.9-IV0{*}. When I try to confirm the version using:
{{sh kafka-features.sh --bootstrap-controller localhost:9091 describe}}
it shows {*}finalized KRaft version 0{*}.
Can anyone help me resolve this issue?
Logs:
sh kafka-features.sh --bootstrap-controller localhost:9091 describe
Feature: kraft.version SupportedMinVersion: 0 SupportedMaxVersion: 1
FinalizedVersionLevel: 0 Epoch: 6
Feature: metadata.version SupportedMinVersion: 3.0-IV1
SupportedMaxVersion: 3.9-IV0
FinalizedVersionLevel: 3.9-IV0 Epoch: 6
Server.log:
[2025-03-06 13:40:40,569] INFO [ControllerServer id=102] Waiting for all of the
SocketServer Acceptors to be started (kafka.server.ControllerServer)
[2025-03-06 13:40:40,569] INFO [ControllerServer id=102] Finished waiting for
all of the SocketServer Acceptors to be started (kafka.server.ControllerServer)
[2025-03-06 13:40:40,569] INFO [ControllerRegistrationManager id=102
incarnation=h-3EozNTQZGbhcsV_119Fg] initialized channel manager.
(kafka.server.ControllerRegistrationManager)
[2025-03-06 13:40:40,569] INFO [ControllerRegistrationManager id=102
incarnation=h-3EozNTQZGbhcsV_119Fg] maybeSendControllerRegistration: cannot
register yet because the metadata.version is still 3.0-IV1, which does not
support KIP-919 controller registration.
was:
I am using Kafka {*}3.9.0{*}. When starting a {*}KRaft controller{*}, it shows
{*}metadata version 3.0-IV1{*}, but when formatting storage, it shows
{*}version 3.9-IV0{*}. When I try to confirm the version using:
{{sh kafka-features.sh --bootstrap-controller localhost:9091 describe}}
it shows {*}finalized KRaft version 0{*}.
Can anyone help me resolve this issue?
Logs:
sh kafka-features.sh --bootstrap-controller localhost:9091 describe
Feature: kraft.version SupportedMinVersion: 0 SupportedMaxVersion: 1
FinalizedVersionLevel: 0 Epoch: 6
Feature: metadata.version SupportedMinVersion: 3.0-IV1
SupportedMaxVersion: 3.9-IV0
FinalizedVersionLevel: 3.9-IV0 Epoch: 6
Server.log:
[2025-03-06 14:47:04,547] INFO
[controller-101-to-controller-registration-channel-manager]: Recorded new KRaft
controller, from now on will use node 128.1.1.30:9093 (id: 101 rack: null)
(kafka.server.NodeToControllerRequestThread)
[2025-03-06 14:47:04,549] INFO [ControllerRegistrationManager id=101
incarnation=76ZgyuSWRz6utmnnwsAwcA] sendControllerRegistration: attempting to
send ControllerRegistrationRequestData(controllerId=101,
incarnationId=76ZgyuSWRz6utmnnwsAwcA, zkMigrationReady=false,
listeners=[Listener(name='CONTROLLER', host='128.1.1.30', port=9093,
securityProtocol=0)], features=[Feature(name='kraft.version',
minSupportedVersion=0, maxSupportedVersion=1), Feature(name='metadata.version',
minSupportedVersion=1, maxSupportedVersion=21)])
(kafka.server.ControllerRegistrationManager)
[2025-03-06 14:47:04,556] INFO Kafka version: 3.9.0
(org.apache.kafka.common.utils.AppInfoParser)
[2025-03-06 14:47:04,556] INFO Kafka commitId: a60e31147e6b01ee
(org.apache.kafka.common.utils.AppInfoParser)
[2025-03-06 14:47:04,556] INFO Kafka startTimeMs: 1741272424551
(org.apache.kafka.common.utils.AppInfoParser)
[2025-03-06 14:47:04,558] INFO [KafkaRaftServer nodeId=101] Kafka Server
started (kafka.server.KafkaRaftServer)
[2025-03-06 14:47:04,682] INFO [ControllerRegistrationManager id=101
incarnation=76ZgyuSWRz6utmnnwsAwcA] Our registration has been persisted to the
metadata log. (kafka.server.ControllerRegistrationManager)
[2025-03-06 14:47:04,684] INFO [ControllerRegistrationManager id=101
incarnation=76ZgyuSWRz6utmnnwsAwcA] RegistrationResponseHandler: controller
acknowledged ControllerRegistrationRequest.
(kafka.server.ControllerRegistrationManager)
> Kraft version and metadata version wrongly showing
> --------------------------------------------------
>
> Key: KAFKA-18938
> URL: https://issues.apache.org/jira/browse/KAFKA-18938
> Project: Kafka
> Issue Type: Bug
> Components: controller, kraft
> Affects Versions: 3.9.0
> Reporter: Rameshkanna N
> Priority: Major
>
> I am using Kafka {*}3.9.0{*}. When starting a {*}KRaft controller{*}, it
> shows {*}metadata version 3.0-IV1{*}, but when formatting storage, it shows
> {*}version 3.9-IV0{*}. When I try to confirm the version using:
> {{sh kafka-features.sh --bootstrap-controller localhost:9091 describe}}
> it shows {*}finalized KRaft version 0{*}.
> Can anyone help me resolve this issue?
> Logs:
> sh kafka-features.sh --bootstrap-controller localhost:9091 describe
> Feature: kraft.version SupportedMinVersion: 0 SupportedMaxVersion: 1
> FinalizedVersionLevel: 0 Epoch: 6
> Feature: metadata.version SupportedMinVersion: 3.0-IV1
> SupportedMaxVersion: 3.9-IV0
> FinalizedVersionLevel: 3.9-IV0 Epoch: 6
> Server.log:
> [2025-03-06 13:40:40,569] INFO [ControllerServer id=102] Waiting for all of
> the SocketServer Acceptors to be started (kafka.server.ControllerServer)
> [2025-03-06 13:40:40,569] INFO [ControllerServer id=102] Finished waiting for
> all of the SocketServer Acceptors to be started
> (kafka.server.ControllerServer)
> [2025-03-06 13:40:40,569] INFO [ControllerRegistrationManager id=102
> incarnation=h-3EozNTQZGbhcsV_119Fg] initialized channel manager.
> (kafka.server.ControllerRegistrationManager)
> [2025-03-06 13:40:40,569] INFO [ControllerRegistrationManager id=102
> incarnation=h-3EozNTQZGbhcsV_119Fg] maybeSendControllerRegistration: cannot
> register yet because the metadata.version is still 3.0-IV1, which does not
> support KIP-919 controller registration.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)