mcvsubbu commented on a change in pull request #6650: URL: https://github.com/apache/incubator-pinot/pull/6650#discussion_r591699572
########## File path: compatibility-verifier/compCheck.sh ########## @@ -105,13 +102,18 @@ function stopService() { else echo "Pid file ${dirName}/${serviceName}.pid not found. Failed to stop component ${serviceName}" fi + echo "${serviceName} stopped" } # Starts a Pinot cluster given a specific target directory function startServices() { dirName=$1 startService zookeeper "$dirName" + # Controller depends on zookeeper, if not wait zookeeper to be ready, controller will crash. + waitForZkReady startService controller "$dirName" + # Broker depends on controller, if not wait controller to be ready, broker will crash. + waitForControllerReady Review comment: Add a `waitForClusterReady` after line 118. It may also be useful to add a `waitForKafkaReady` after line 119 since there may be some race conditions. ---------------------------------------------------------------- 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. 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