[ 
https://issues.apache.org/jira/browse/IGNITE-4677?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrey Novikov updated IGNITE-4677:
-----------------------------------
    Description: 
* In case of connect using Java client to localhost:<port> in router mode all 
nodes listen same localhost:<port> on other hosts will be marked as connectable.

{code}
boolean noAttrsAndMetrics = (metricsCache && attrCache) || 
(node.attributes().isEmpty() && node.metrics() == null);

boolean reachable = noAttrsAndMetrics || ... 
{code}

* Under Windows org.apache.ignite.internal.util.IgniteUtils#allLocalIps return 
same mac: 00-00-00-00-00-00-00-E0 on different hosts.

  was:
# In case of connect using Java client to localhost:<port> in router mode all 
nodes listen same localhost:<port> on other hosts will be marked as connectable.

{code}
boolean noAttrsAndMetrics = (metricsCache && attrCache) || 
(node.attributes().isEmpty() && node.metrics() == null);

boolean reachable = noAttrsAndMetrics || ... 
{code}

# Under Windows org.apache.ignite.internal.util.IgniteUtils#allLocalIps return 
same mac: 00-00-00-00-00-00-00-E0 on different hosts.


> Incorrect connectable node detection in router mode for Java thin client
> ------------------------------------------------------------------------
>
>                 Key: IGNITE-4677
>                 URL: https://issues.apache.org/jira/browse/IGNITE-4677
>             Project: Ignite
>          Issue Type: Bug
>          Components: clients
>    Affects Versions: 1.8
>            Reporter: Andrey Novikov
>            Assignee: Andrey Novikov
>             Fix For: 1.9
>
>
> * In case of connect using Java client to localhost:<port> in router mode all 
> nodes listen same localhost:<port> on other hosts will be marked as 
> connectable.
> {code}
> boolean noAttrsAndMetrics = (metricsCache && attrCache) || 
> (node.attributes().isEmpty() && node.metrics() == null);
> boolean reachable = noAttrsAndMetrics || ... 
> {code}
> * Under Windows org.apache.ignite.internal.util.IgniteUtils#allLocalIps 
> return same mac: 00-00-00-00-00-00-00-E0 on different hosts.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to