----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/15964/#review29684 -----------------------------------------------------------
core/src/main/scala/kafka/admin/ReassignPartitionsCommand.scala <https://reviews.apache.org/r/15964/#comment57121> If we get here, the generateOpt must already be set. core/src/main/scala/kafka/controller/KafkaController.scala <https://reviews.apache.org/r/15964/#comment57125> Could the case statement be just on this statement? - Jun Rao On Dec. 3, 2013, 6:21 p.m., Neha Narkhede wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/15964/ > ----------------------------------------------------------- > > (Updated Dec. 3, 2013, 6:21 p.m.) > > > Review request for kafka. > > > Bugs: KAFKA-1156 > https://issues.apache.org/jira/browse/KAFKA-1156 > > > Repository: kafka > > > Description > ------- > > Found and fixed a bug during partition reassignment if a partition is being > reassigned to the same set of replicas repeatedly > > > Improved the partition reassignment tool to - 1) Output the previous > partition replica assignment before kicking off the new assignment, to help > with rollback 2) Have 3 options - generate, verify, execute 3) Cleaned up > tool to use the 3 options properly > > > Diffs > ----- > > core/src/main/scala/kafka/admin/ReassignPartitionsCommand.scala > 70d1b81f7dab2b3316af77738d682427d668be14 > core/src/main/scala/kafka/controller/KafkaController.scala > 4c319aba97655e7c4ec97fac2e34de4e28c9f5d3 > > Diff: https://reviews.apache.org/r/15964/diff/ > > > Testing > ------- > > > Thanks, > > Neha Narkhede > >