[ 
https://issues.apache.org/jira/browse/IGNITE-5751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16086238#comment-16086238
 ] 

Andrew Mashenkov commented on IGNITE-5751:
------------------------------------------

1. Seems, we should use SocketConnectTimeout instead of hardcoded 2 sec timeout.
2. Looks like there is no need to wait for all addressed to be checked, but 
only the first one 
and may be wait a little bit more to allow to check some more addresses.

We have to check here if using first reachable address approach is correct as
JDK classes is used to check host reachability, but there is no check  
preformed for port reachability. 
Have I missed smth?

> In TcpCommunicationSpi.createTcpClient U.filterReachable waits all addresses 
> to check if they are reachable
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-5751
>                 URL: https://issues.apache.org/jira/browse/IGNITE-5751
>             Project: Ignite
>          Issue Type: Bug
>          Components: general
>    Affects Versions: 2.1
>            Reporter: Evgenii Zhuravlev
>            Priority: Critical
>             Fix For: 2.2
>
>
> In TcpCommunicationSpi.createTcpClient replace U.filterReachable with 
> filtering first reachable address



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to