You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2014/12/29 08:26:13 UTC
[jira] [Commented] (KAFKA-1833) OfflinePartitionLeaderSelector may
return null leader when ISR and Assgined Broker have no common
[ https://issues.apache.org/jira/browse/KAFKA-1833?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14259911#comment-14259911 ]
ASF GitHub Bot commented on KAFKA-1833:
---------------------------------------
GitHub user tedxia opened a pull request:
https://github.com/apache/kafka/pull/39
KAFKA-1833: OfflinePartitionLeaderSelector may return null leader when ISR and Assgi...
In OfflinePartitonLeaderSelector::selectLeader, when liveBrokerInIsr is not empty and have no common broker with liveAssignedreplicas, selectLeader will return no leader;
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/tedxia/kafka fix-select-leader
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/39.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #39
----
commit 6f20bdc9ebe7b4a56de492c98e7a89ac7e3985ba
Author: xiajun <xi...@xiaomi.com>
Date: 2014-12-29T07:22:54Z
OfflinePartitionLeaderSelector may return null leader when ISR and Assgined Broker have no common broker
----
> OfflinePartitionLeaderSelector may return null leader when ISR and Assgined Broker have no common
> -------------------------------------------------------------------------------------------------
>
> Key: KAFKA-1833
> URL: https://issues.apache.org/jira/browse/KAFKA-1833
> Project: Kafka
> Issue Type: Bug
> Components: controller
> Affects Versions: 0.8.2
> Reporter: xiajun
> Assignee: Neha Narkhede
> Labels: easyfix
>
> In OfflinePartitonLeaderSelector::selectLeader, when liveBrokerInIsr is not empty and have no common broker with liveAssignedreplicas, selectLeader will return no leader;
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)