FrankYang0529 commented on code in PR #19678:
URL: https://github.com/apache/kafka/pull/19678#discussion_r2086665383


##########
group-coordinator/src/main/java/org/apache/kafka/coordinator/group/assignor/RangeSet.java:
##########
@@ -163,6 +171,7 @@ public boolean equals(Object o) {
         if (!(o instanceof Set<?> otherSet)) return false;
 
         if (o instanceof RangeSet other) {
+            if (this.size() == 0 && other.size() == 0) return true;

Review Comment:
   Sorry, I just got that (5, 5) and (6, 6) are equal in this case. Ignore my 
comment. Thanks.



-- 
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

Reply via email to