dajac commented on code in PR #14794: URL: https://github.com/apache/kafka/pull/14794#discussion_r1398785746
########## core/src/test/java/kafka/server/AssignmentsManagerTest.java: ########## @@ -72,6 +75,29 @@ void tearDown() throws InterruptedException { manager.close(); } + AssignReplicasToDirsRequestData normalize(AssignReplicasToDirsRequestData request) { Review Comment: We could actually meet in the middle. How about duplicating the structure with `duplicate()` and sort in place? I think that this would address both issues. -- 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