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 <xia...@xiaomi.com>
Date:   2014-12-29T07:22:54Z

    OfflinePartitionLeaderSelector may return null leader when ISR and Assgined 
Broker have no common broker

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to