You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/12/07 18:09:58 UTC

[jira] [Commented] (KAFKA-4445) PreferredLeaderElectionCommand should query zk only once per topic

    [ https://issues.apache.org/jira/browse/KAFKA-4445?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15729435#comment-15729435 ] 

ASF GitHub Bot commented on KAFKA-4445:
---------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/kafka/pull/2170


> PreferredLeaderElectionCommand should query zk only once per topic
> ------------------------------------------------------------------
>
>                 Key: KAFKA-4445
>                 URL: https://issues.apache.org/jira/browse/KAFKA-4445
>             Project: Kafka
>          Issue Type: Bug
>    Affects Versions: 0.10.1.0
>            Reporter: Dong Lin
>            Assignee: Dong Lin
>             Fix For: 0.10.2.0
>
>
> Currently PreferredLeaderElection will query zookeeper once for every partition that are included in the preferred leader election. This is very inefficient and makes the preferred leader election script slow. It should only query zookeeper once per topic.
> In addition, the script currently reports that the preferred leader election is successfully even if some partitions are not found in the zookeeper.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)