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

[jira] [Resolved] (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: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)