61yao commented on code in PR #10350:
URL: https://github.com/apache/pinot/pull/10350#discussion_r1137545177


##########
pinot-broker/src/main/java/org/apache/pinot/broker/routing/adaptiveserverselector/AdaptiveServerSelector.java:
##########
@@ -32,27 +32,29 @@ public interface AdaptiveServerSelector {
    * Picks the best server to route a query from the list of candidate servers.
    *
    * @param serverCandidates Candidate servers from which the best server 
should be chosen.
-   * @return server identifier
+   * @return server identifier and whether server is online
    */
-  String select(List<String> serverCandidates);
+  Pair<String, Boolean> select(List<Pair<String, Boolean>> serverCandidates);

Review Comment:
   done



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to