ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ilya Kasnacheev (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-8343) InetSocketAddress.getAddress() returns null, should check it in TcpCommunicationSpi
Date Fri, 20 Apr 2018 12:41:00 GMT
Ilya Kasnacheev created IGNITE-8343:
---------------------------------------

             Summary: InetSocketAddress.getAddress() returns null, should check it in TcpCommunicationSpi
                 Key: IGNITE-8343
                 URL: https://issues.apache.org/jira/browse/IGNITE-8343
             Project: Ignite
          Issue Type: Bug
          Components: general
            Reporter: Ilya Kasnacheev


This is especially notorious in the following scenario:
{code}
// -Djava.net.preferIPv4Stack=true
        System.err.println(new InetSocketAddress("0:0:0:0:0:0:0:1%lo", 12345).getAddress());
// null
{code}

Yes we already warn if different nodes have differing preferIPv4Stack, still this is warning
not a error, and there may be other cases where getAddress() returns null. Should make a check.





--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message