You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Anton Vinogradov (JIRA)" <ji...@apache.org> on 2016/06/09 13:57:21 UTC

[jira] [Comment Edited] (IGNITE-3216) Need to deduplicate addresses registered in the IP finder

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

Anton Vinogradov edited comment on IGNITE-3216 at 6/9/16 1:57 PM:
------------------------------------------------------------------

TeamCity failed. Collections.unmodifiableSet should be used. But I found no reasons to make collection unmodified.
So, will check TeamCity with returning res.


was (Author: avinogradov):
TeamCity failed. Collections.unmodifiableSet should be used. But I found no reasong to make collection unmodified.
So, will check TeamCity with returning res.

> Need to deduplicate addresses registered in the IP finder
> ---------------------------------------------------------
>
>                 Key: IGNITE-3216
>                 URL: https://issues.apache.org/jira/browse/IGNITE-3216
>             Project: Ignite
>          Issue Type: Bug
>          Components: general
>    Affects Versions: 1.6
>            Reporter: Valentin Kulichenko
>            Assignee: Anton Vinogradov
>             Fix For: 1.7
>
>
> {{IgniteUtils.toSocketAddresses(...)}} method can produce the collection with duplicated addresses in some cases (e.g., if one of hostnames is provided as an IP). We should deduplicate the list before returning it (most likely we should simply use {{Set}} instead).



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