[
https://issues.apache.org/jira/browse/KAFKA-14284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17891634#comment-17891634
]
Doug Whitfield commented on KAFKA-14284:
----------------------------------------
is there any update on this now that newer versions are out? We are reproducing
this in 3.7.1.
> "current-vote" metric is always leaderId under non-election state
> -----------------------------------------------------------------
>
> Key: KAFKA-14284
> URL: https://issues.apache.org/jira/browse/KAFKA-14284
> Project: Kafka
> Issue Type: Bug
> Components: kraft
> Affects Versions: 3.3.1
> Reporter: Luke Chen
> Assignee: Luke Chen
> Priority: Major
>
> The current-vote metric in:
> {code:java}
> kafka.server:type=raft-metrics,name=current-vote{code}
> It is always showing the leader id, even it's not in election state. Compared
> to the "quorum-state" file, the votedId will show -1 if it's not in
> "candidate" or "voted" state, which makes more sense.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)