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