[jira] [Created] (IGNITE-4677) Incorrect connectable node detection in router mode for Java thin client

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-4677) Incorrect connectable node detection in router mode for Java thin client

Anton Vinogradov (Jira)
Andrey Novikov created IGNITE-4677:
--------------------------------------

             Summary: 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)