cmccabe commented on code in PR #14838: URL: https://github.com/apache/kafka/pull/14838#discussion_r1416321816
########## metadata/src/main/java/org/apache/kafka/metadata/BrokerRegistration.java: ########## @@ -337,7 +341,7 @@ public boolean equals(Object o) { other.fenced == fenced && other.inControlledShutdown == inControlledShutdown && other.isMigratingZkBroker == isMigratingZkBroker && - other.directories.equals(directories); + other.sortedDirectories.equals(sortedDirectories); Review Comment: This is another reason to go with sorted -- `list.equals` won't do the right thing otherwise. -- 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