[ https://issues.apache.org/jira/browse/IGNITE-3216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15320611#comment-15320611 ]
Valentin Kulichenko commented on IGNITE-3216: --------------------------------------------- Anton, Why do we need the {{F.viewSetReadOnly}} call there? Can we avoid it? I would prefer to remove usages of {{F.}} where possible. > 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)