-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/16175/#review30202
-----------------------------------------------------------



core/src/main/scala/kafka/server/ReplicaManager.scala
<https://reviews.apache.org/r/16175/#comment57813>

    Under which condition the broker will not be in the assigned replica list? 
Since the controller have full control of sending LeaderAndIsr request to 
brokers, this case sounds more like a bug to me.


- Guozhang Wang


On Dec. 11, 2013, 6:30 a.m., Neha Narkhede wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/16175/
> -----------------------------------------------------------
> 
> (Updated Dec. 11, 2013, 6:30 a.m.)
> 
> 
> Review request for kafka.
> 
> 
> Bugs: KAFKA-1178
>     https://issues.apache.org/jira/browse/KAFKA-1178
> 
> 
> Repository: kafka
> 
> 
> Description
> -------
> 
> 1. Fixed broker to only follow become-follower/leader request if the broker 
> exists in the assigned replica list 2. Changed the under replicated check to 
> compare in sync replica set size with assigned replica set size instead of 
> passed in replication factor 3. Fixed the fetcher id computation to not 
> create more fetcher threads than necessary due to the negative (overflown) 
> hashcode value. 4. Fixed some more state change logging 5. Tested partition 
> reassignment several times on a cluster with several 100s of topics, verified 
> reassignment completion followed by no under replicated partitions (through 
> jmx and through zookeeper)
> 
> 
> Diffs
> -----
> 
>   core/src/main/scala/kafka/admin/ReassignPartitionsCommand.scala 
> 65c04edc11a1eb2771bfd741d59886b5fef9ccbc 
>   core/src/main/scala/kafka/cluster/Partition.scala 
> 13f48baa1bc44533c33153fde6f1c03a067d83bc 
>   core/src/main/scala/kafka/server/AbstractFetcherManager.scala 
> 394e981c858fa53a28d3c7fcef0afbd4faf07858 
>   core/src/main/scala/kafka/server/ReplicaManager.scala 
> b0a39622ab91e209f9657231917a5ae30fd835f0 
> 
> Diff: https://reviews.apache.org/r/16175/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Neha Narkhede
> 
>

Reply via email to