squah-confluent commented on code in PR #24388:
URL: https://github.com/apache/kafka/pull/24388#discussion_r4709759364


##########
group-coordinator/src/test/java/org/apache/kafka/coordinator/group/GroupMetadataManagerTest.java:
##########
@@ -12856,6 +12857,89 @@ public void testDescribeGroupRebalancing() throws 
Exception {
         assertEquals(expectedDescribedGroups, describedGroups);
     }
 
+    @Test
+    public void testPrepareRebalanceInCompletingRebalance() throws Exception {

Review Comment:
   nit: Is there a better place to insert this test than in the middle of 
`testDescribeGroups*`?



##########
group-coordinator/src/main/java/org/apache/kafka/coordinator/group/GroupMetadataManager.java:
##########
@@ -8724,7 +8724,8 @@ private void setAndPropagateAssignment(ClassicGroup 
group, Map<String, byte[]> a
     }
 
     /**
-     * Propagate assignment and error to all members.
+     * Propagate the assignment and the error to all members. A member gets an 
empty assignment
+     * with an error.

Review Comment:
   ```suggestion
        * Propagate the assignment or the error to all members. A member gets 
an empty assignment
        * with an error.
   ```
   I think this is really an "or" now. Only one of them gets passed through.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to