summerhasama-stripe commented on code in PR #11073: URL: https://github.com/apache/pinot/pull/11073#discussion_r1272315952
########## pinot-controller/src/test/java/org/apache/pinot/controller/helix/core/rebalance/TableRebalancerClusterStatelessTest.java: ########## @@ -246,19 +246,19 @@ public void testRebalance() tableConfig.setInstanceAssignmentConfigMap(null); _helixResourceManager.updateTableConfig(tableConfig); - // Without instances reassignment, the rebalance should return status NO_OP as instance partitions are already - // generated + // Without instances reassignment, the rebalance should return status DONE, Review Comment: https://github.com/apache/pinot/blob/master/pinot-controller/src/main/java/org/apache/pinot/controller/helix/core/rebalance/TableRebalancer.java#L559-L572 This code here will remove instance partitions whether instance reassignment or not. Should I change the if condition? -- 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: commits-unsubscr...@pinot.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org