You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "TengYao Chi (Jira)" <ji...@apache.org> on 2025/01/06 12:16:00 UTC

[jira] [Resolved] (KAFKA-18131) Improve logs for voters

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