Vladsz83 commented on code in PR #11327:
URL: https://github.com/apache/ignite/pull/11327#discussion_r1587936276


##########
modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/ServerImpl.java:
##########
@@ -7287,10 +7288,21 @@ private InetSocketAddress 
checkConnection(List<InetSocketAddress> addrs, int tim
                                     sock.connect(addr, perAddrTimeout);
 
                                     liveAddrHolder.compareAndSet(null, addr);
+
+                                    if (log.isInfoEnabled()) {
+                                        log.info("Connection check to node: 
[addressToCheck=" + addr
+                                            + ", result=success, node=" + 
U.toShortString(node) + ']');
+                                    }
+                                }
+                                else if (log.isInfoEnabled()) {
+                                    log.info("Connection check to node: 
[addressToCheck=" + addr
+                                        + ", result=skipped, node=" + 
U.toShortString(node) + ']');
                                 }
                             }
                             catch (Exception ignored) {
-                                // No-op.
+                                log.info("Connection check to node: 
[addressToCheck=" + addr

Review Comment:
   Let's use U.warn() if address ping failed.



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