jugomezv commented on code in PR #9994: URL: https://github.com/apache/pinot/pull/9994#discussion_r1065219850
########## pinot-core/src/main/java/org/apache/pinot/core/data/manager/InstanceDataManager.java: ########## @@ -183,4 +184,11 @@ void addOrReplaceSegment(String tableNameWithType, String segmentName) * Immediately stop consumption and start committing the consuming segments. */ void forceCommit(String tableNameWithType, Set<String> segmentNames); + + /** + * Enables the installation of a method to determine if a server is ready to server queries. + * + * @param isServerReadyToServeQueries supplier to retrieve state of server. + */ + void setSupplierOfIsServerReadyToServeQueries(Supplier<Boolean> isServerReadyToServeQueries); Review Comment: Added default init to avoid the problem you are describing, may be we can refine later if necessary: see commit 3ce7b783c5dc88073106f400f00783ba4ab71281 -- 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