You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Vladimir Ozerov (JIRA)" <ji...@apache.org> on 2017/01/20 07:12:26 UTC

[jira] [Created] (IGNITE-4577) Ensure that certain interface addresses can be excluded form node attributes

Vladimir Ozerov created IGNITE-4577:
---------------------------------------

             Summary: Ensure that certain interface addresses can be excluded form node attributes
                 Key: IGNITE-4577
                 URL: https://issues.apache.org/jira/browse/IGNITE-4577
             Project: Ignite
          Issue Type: Task
          Components: general
    Affects Versions: 1.8
            Reporter: Vladimir Ozerov
             Fix For: 2.0


*Problem*
Consider a case when node has some network interface which is not accessible from the outside (e.g. in Docker container). Ignite adds this address to attributes, which are shared with other nodes. Now if remote want to communicate with local node chances that he will try to establish connection with invalid address. 

In the worst case connection will be impossible. We use {{AddressResolver}} to handle this situation.

However, it appears that {{AddressResolver}} cannot prevent certain address to appear in address list. As a result users may experience communication delays as we establish peer-to-peer connection in one thread, iterating over all available addresses.

*Proposed solution*
We need to examine what happens when address resolver is set. May be it is necessary to rethink how we handle returned object. E.g. {{null}} or empty collection might mean that this address should not be included into the list of address. However, it may break existing applications, so chances that other solution is needed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)