sashapolo commented on code in PR #4320:
URL: https://github.com/apache/ignite-3/pull/4320#discussion_r1741157584


##########
modules/network/src/main/java/org/apache/ignite/internal/network/StaticNodeFinder.java:
##########
@@ -17,13 +17,29 @@
 
 package org.apache.ignite.internal.network;
 
+import static java.util.stream.Collectors.toList;
+
+import java.net.InetAddress;
+import java.net.UnknownHostException;
+import java.util.Arrays;
 import java.util.List;
+import org.apache.ignite.internal.logger.IgniteLogger;
+import org.apache.ignite.internal.logger.Loggers;
 import org.apache.ignite.network.NetworkAddress;
 
 /**
- * {@code NodeFinder} implementation that encapsulates a predefined list of 
network addresses.
+ * {@code NodeFinder} implementation that encapsulates a predefined list of 
network addresses and/or host names.
+ *
+ * <p>IP addresses are returned as is (up to a format change).
+ *
+ * <p>Names are resolved. If a name is resolved to at least one addreess, all 
these addresses will be returned. If it resolves

Review Comment:
   ```suggestion
    * <p>Names are resolved. If a name is resolved to one or more addresses, 
all of them will be returned. If it resolves
   ```



-- 
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]

Reply via email to