[
https://issues.apache.org/jira/browse/IGNITE-4677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15863707#comment-15863707
]
ASF GitHub Bot commented on IGNITE-4677:
----------------------------------------
GitHub user nva opened a pull request:
https://github.com/apache/ignite/pull/1523
IGNITE-4677 Fixed incorrect connectable node detection in router mode for
Java thin client
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gridgain/apache-ignite ignite-4677
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ignite/pull/1523.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1523
----
commit 631daaaa148a2883e340c1a45f7355b8f5197da1
Author: Andrey Novikov <[email protected]>
Date: 2017-02-09T08:26:30Z
IGNITE-4677 Fixed connectable node detection in router mode for Java thin
client.
commit e33fbb71303e4f8120c663bcf44ed3a74745981a
Author: Andrey Novikov <[email protected]>
Date: 2017-02-09T11:51:41Z
IGNITE-4677 Fixed connectable node detection in router mode for Java thin
client.
commit 8d4213e24e03cbb98b8543c1624b7435c20fa7a5
Author: nva <wpo47n2s5d>
Date: 2017-02-12T05:21:35Z
IGNITE-4677 Exclude virtual mac for Microsoft tunnel adapter.
----
> 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)