[ 
https://issues.apache.org/jira/browse/KAFKA-575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13477125#comment-13477125
 ] 

Jun Rao commented on KAFKA-575:
-------------------------------

One way to address this issue is to include the broker info in the leaderAndIsr 
request. This way, Partition.makeFollower() doesn't need to read from ZK any 
more.
                
> Partition.makeFollower() reads broker info from ZK
> --------------------------------------------------
>
>                 Key: KAFKA-575
>                 URL: https://issues.apache.org/jira/browse/KAFKA-575
>             Project: Kafka
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 0.8
>            Reporter: Jun Rao
>            Priority: Blocker
>              Labels: bugs
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> To follow a new leader, Partition.makeFollower() has to obtain the broker 
> info of the new leader. Currently, it reads that info from ZK for every 
> affected partition. This increases the time for a leader to truly available. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to