You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Kevin Lafferty (JIRA)" <ji...@apache.org> on 2018/10/19 17:25:01 UTC
[jira] [Comment Edited] (KAFKA-7299) batch LeaderAndIsr requests
during auto preferred leader election
[ https://issues.apache.org/jira/browse/KAFKA-7299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16657135#comment-16657135 ]
Kevin Lafferty edited comment on KAFKA-7299 at 10/19/18 5:24 PM:
-----------------------------------------------------------------
[~junrao] can this be backported for inclusion in 1.1.2 and 2.0.1?
was (Author: klafferty):
[~junrao] can this be backported for inclusion in 1.1.2?
> batch LeaderAndIsr requests during auto preferred leader election
> -----------------------------------------------------------------
>
> Key: KAFKA-7299
> URL: https://issues.apache.org/jira/browse/KAFKA-7299
> Project: Kafka
> Issue Type: Sub-task
> Components: core
> Affects Versions: 2.0.0
> Reporter: Jun Rao
> Assignee: huxihx
> Priority: Major
> Fix For: 2.1.0
>
>
> Currently, in KafkaController.checkAndTriggerAutoLeaderRebalance(), we call onPreferredReplicaElection() one partition at a time. This means that the controller will be sending LeaderAndIsrRequest one partition at a time. It would be more efficient to call onPreferredReplicaElection() for a batch of partitions to reduce the number of LeaderAndIsrRequests.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)