Jackie-Jiang commented on code in PR #12353:
URL: https://github.com/apache/pinot/pull/12353#discussion_r1480328028
##########
pinot-common/src/main/java/org/apache/pinot/common/utils/RoundRobinURIProvider.java:
##########
@@ -54,6 +55,14 @@ public RoundRobinURIProvider(URI originalUri)
_index = new Random().nextInt(_uris.length);
}
+ public RoundRobinURIProvider(List<URI> uris) {
Review Comment:
+1 on also resolve the hostname to multiple IPs to follow the existing
behavior. We can probably add a helper method to resolve a given URI to a list
of URIs
--
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]