[
https://issues.apache.org/jira/browse/KAFKA-930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13854458#comment-13854458
]
Sriram Subramanian commented on KAFKA-930:
------------------------------------------
Updated reviewboard https://reviews.apache.org/r/15711/
against branch origin/trunk
> Integrate preferred replica election logic into kafka
> -----------------------------------------------------
>
> Key: KAFKA-930
> URL: https://issues.apache.org/jira/browse/KAFKA-930
> Project: Kafka
> Issue Type: Bug
> Reporter: Sriram Subramanian
> Assignee: Sriram Subramanian
> Fix For: 0.9.0
>
> Attachments: KAFKA-930.patch, KAFKA-930_2013-11-19_17:37:29.patch,
> KAFKA-930_2013-11-19_17:38:49.patch, KAFKA-930_2013-11-21_09:42:11.patch,
> KAFKA-930_2013-12-09_22:51:57.patch, KAFKA-930_2013-12-20_11:13:01.patch,
> KAFKA-930_2013-12-20_11:22:36.patch
>
>
> It seems useful to integrate the preferred replica election logic into kafka
> controller. A simple way to implement this would be to have a background
> thread that periodically finds the topic partitions that are not assigned to
> the preferred broker and initiate the move. We could come up with some
> heuristics to initiate the move only if the imbalance over a specific
> threshold in order to avoid rebalancing too aggressively. Making the software
> do this reduces operational cost.
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)