From dev-return-13167-apmail-ignite-dev-archive=ignite.apache.org@ignite.apache.org Mon May 30 18:42:13 2016 Return-Path: X-Original-To: apmail-ignite-dev-archive@minotaur.apache.org Delivered-To: apmail-ignite-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4807B18007 for ; Mon, 30 May 2016 18:42:13 +0000 (UTC) Received: (qmail 6566 invoked by uid 500); 30 May 2016 18:42:13 -0000 Delivered-To: apmail-ignite-dev-archive@ignite.apache.org Received: (qmail 6491 invoked by uid 500); 30 May 2016 18:42:12 -0000 Mailing-List: contact dev-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list dev@ignite.apache.org Received: (qmail 6469 invoked by uid 99); 30 May 2016 18:42:12 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 May 2016 18:42:12 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id C65162C14F8 for ; Mon, 30 May 2016 18:42:12 +0000 (UTC) Date: Mon, 30 May 2016 18:42:12 +0000 (UTC) From: "Valentin Kulichenko (JIRA)" To: dev@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (IGNITE-3216) Need to deduplicate addresses registered in the IP finder MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Valentin Kulichenko created IGNITE-3216: ------------------------------------------- Summary: 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 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)