CalvinConfluent commented on code in PR #15359: URL: https://github.com/apache/kafka/pull/15359#discussion_r1488746986
########## metadata/src/main/java/org/apache/kafka/controller/PartitionReassignmentReplicas.java: ########## @@ -120,9 +120,7 @@ Optional<CompletedReassignment> maybeCompleteReassignment(List<Integer> targetIs } if (newTargetReplicas.isEmpty()) return Optional.empty(); } - for (int replica : adding) { - if (!newTargetIsr.contains(replica)) return Optional.empty(); Review Comment: The newTargetReplicas is the original replica + adding - removing. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org