[
https://issues.apache.org/jira/browse/KAFKA-4445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jiangjie Qin resolved KAFKA-4445.
---------------------------------
Resolution: Fixed
> PreferredLeaderElectionCommand should query zk only once per topic
> ------------------------------------------------------------------
>
> Key: KAFKA-4445
> URL: https://issues.apache.org/jira/browse/KAFKA-4445
> Project: Kafka
> Issue Type: Improvement
> 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)