sajjad-moradi commented on a change in pull request #7267: URL: https://github.com/apache/pinot/pull/7267#discussion_r707788111
########## File path: pinot-common/src/main/java/org/apache/pinot/common/utils/ServiceStatus.java ########## @@ -236,13 +242,24 @@ public synchronized Status getServiceStatus() { return _serviceStatus; } long now = System.currentTimeMillis(); - if (now < _endWaitTime) { - _statusDescription = - String.format("Waiting for consuming segments to catchup, timeRemaining=%dms", _endWaitTime - now); - return Status.STARTING; + if (now >= _endWaitTime) { + _statusDescription = String.format("Consuming segments status GOOD since %dms", _endWaitTime); Review comment: Added the number of segments yet to catch up. -- 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