qqu0127 commented on a change in pull request #8325: URL: https://github.com/apache/pinot/pull/8325#discussion_r836642266
########## File path: pinot-controller/src/test/java/org/apache/pinot/controller/helix/PinotControllerModeStatelessTest.java ########## @@ -45,7 +45,7 @@ public class PinotControllerModeStatelessTest extends ControllerTest { - private static final long TIMEOUT_IN_MS = 10_000L; + private static final long TIMEOUT_IN_MS = 60_000L; Review comment: Add the following after line 240 ``` IdealState idealState = helixAdmin.getResourceIdealState(getHelixClusterName(), Helix.LEAD_CONTROLLER_RESOURCE_NAME); idealState.setMinActiveReplicas(1); helixAdmin.updateIdealState(getHelixClusterName(), Helix.LEAD_CONTROLLER_RESOURCE_NAME, idealState); ``` This set the minimum of active replicas, if this is not satisfied, a recovery rebalance will be triggered. Otherwise we rely on delayed rebalance to move partitions from offline instance. -- 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