[
https://issues.apache.org/jira/browse/KAFKA-18131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
TengYao Chi resolved KAFKA-18131.
---------------------------------
Resolution: Fixed
> Improve logs for voters
> -----------------------
>
> Key: KAFKA-18131
> URL: https://issues.apache.org/jira/browse/KAFKA-18131
> Project: Kafka
> Issue Type: Improvement
> Reporter: Luke Chen
> Assignee: TengYao Chi
> Priority: Major
> Labels: newbie
> Fix For: 4.0.0
>
>
> Saw logs like this, which has no info about "voters".
>
> _[2024-11-27 09:43:13,853] INFO [RaftManager id=2] Did not receive fetch
> request from the majority of the voters within 3000ms. Current fetched voters
> are [], and voters are java.util.stream.ReferencePipeline$3@39660237
> (org.apache.kafka.raft.LeaderState)_
>
> The voters are important info when diagnose issues. We should clearly log
> them.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)