----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/36030/#review90579 -----------------------------------------------------------
Thanks for the patch. A few more minor comments blow. core/src/test/scala/unit/kafka/integration/TopicMetadataTest.scala (line 139) <https://reviews.apache.org/r/36030/#comment143678> This can be private, right? core/src/test/scala/unit/kafka/integration/TopicMetadataTest.scala (lines 140 - 148) <https://reviews.apache.org/r/36030/#comment143681> This seems redundant given the code in 155 to 163. We can probaby just assert the broker size on topicMetadata after line 152. core/src/test/scala/unit/kafka/integration/TopicMetadataTest.scala (line 155) <https://reviews.apache.org/r/36030/#comment143682> It's better to use foreach() instead map() in this case since we don't need the output of map. - Jun Rao On July 1, 2015, 3:06 p.m., Ashish Singh wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/36030/ > ----------------------------------------------------------- > > (Updated July 1, 2015, 3:06 p.m.) > > > Review request for kafka. > > > Bugs: KAFKA-972 > https://issues.apache.org/jira/browse/KAFKA-972 > > > Repository: kafka > > > Description > ------- > > KAFKA-972: MetadataRequest returns stale list of brokers > > > Diffs > ----- > > core/src/main/scala/kafka/controller/KafkaController.scala > 36350579b16027359d237b64699003358704ac6f > core/src/test/scala/unit/kafka/integration/TopicMetadataTest.scala > 995b05901491bb0dbf0df210d44bd1d7f66fdc82 > > Diff: https://reviews.apache.org/r/36030/diff/ > > > Testing > ------- > > > Thanks, > > Ashish Singh > >