[ 
https://issues.apache.org/jira/browse/IGNITE-13004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17106085#comment-17106085
 ] 

Sergey Antonov commented on IGNITE-13004:
-----------------------------------------

[~amashenkov] Could you review my changes?

> Fix wrong comparison in TcpCommunicationSpi#closeConnections(UUID)
> ------------------------------------------------------------------
>
>                 Key: IGNITE-13004
>                 URL: https://issues.apache.org/jira/browse/IGNITE-13004
>             Project: Ignite
>          Issue Type: Bug
>    Affects Versions: 2.9, 2.8.1
>            Reporter: Sergey Antonov
>            Assignee: Sergey Antonov
>            Priority: Major
>             Fix For: 2.9
>
>
> In IGNITE-12774 was introduced a bug in comparison:
> {code:java}
>         for (ConnectionKey connKey : clientFuts.keySet()) {
>             if (!nodeId.equals(connKey))
>                 continue; 
> {code}
> The right code is: 
> {code:java}
>         for (ConnectionKey connKey : clientFuts.keySet()) {
>             if (!nodeId.equals(connKey.nodeId()))
>                 continue; 
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to