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

Roman Puchkovskiy updated IGNITE-25480:
---------------------------------------
    Summary: Implement 'not my IP address' detection  (was: Implement 'not my 
IP addreess' detection)

> Implement 'not my IP address' detection
> ---------------------------------------
>
>                 Key: IGNITE-25480
>                 URL: https://issues.apache.org/jira/browse/IGNITE-25480
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Roman Puchkovskiy
>            Priority: Major
>              Labels: ignite-3
>
> When sending a message via DefaultMessagingService, we detect whether this is 
> a 'send to self' or not. The detection uses ConnectionManager.localAddress() 
> for comparison, which is incorrect as
>  # This may return 0.0.0.0 if network.listenAddresses is not configured
>  # Even if network.listenAddresses is configured, we only bind to 1 address, 
> but a node might have more than 1 IP address
> It seems that the correct 'self' detection should use the list of node IP 
> addresses obtained using NetworkInterface.getInetAddresses().



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to