Return-Path: X-Original-To: apmail-ignite-commits-archive@minotaur.apache.org Delivered-To: apmail-ignite-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 64CA1184B9 for ; Thu, 18 Jun 2015 13:15:49 +0000 (UTC) Received: (qmail 67152 invoked by uid 500); 18 Jun 2015 13:15:49 -0000 Delivered-To: apmail-ignite-commits-archive@ignite.apache.org Received: (qmail 67115 invoked by uid 500); 18 Jun 2015 13:15:49 -0000 Mailing-List: contact commits-help@ignite.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.incubator.apache.org Delivered-To: mailing list commits@ignite.incubator.apache.org Received: (qmail 67102 invoked by uid 99); 18 Jun 2015 13:15:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Jun 2015 13:15:49 +0000 X-ASF-Spam-Status: No, hits=-2000.4 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 18 Jun 2015 13:13:36 +0000 Received: (qmail 64553 invoked by uid 99); 18 Jun 2015 13:15:19 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Jun 2015 13:15:19 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 4BD50E3C9D; Thu, 18 Jun 2015 13:15:19 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: sboikov@apache.org To: commits@ignite.incubator.apache.org Date: Thu, 18 Jun 2015 13:16:00 -0000 Message-Id: <5cbc35538024406e9741909c1b4442af@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [43/50] incubator-ignite git commit: # changed discovery error message X-Virus-Checked: Checked by ClamAV on apache.org # changed discovery error message Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/31cf8027 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/31cf8027 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/31cf8027 Branch: refs/heads/ignite-1003-debug Commit: 31cf8027216afca3d02461caa4f4245bdd8d0e73 Parents: cb862b6 Author: Yakov Zhdanov Authored: Thu Jun 18 14:56:12 2015 +0300 Committer: Yakov Zhdanov Committed: Thu Jun 18 14:56:12 2015 +0300 ---------------------------------------------------------------------- .../org/apache/ignite/spi/discovery/tcp/ServerImpl.java | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/31cf8027/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/ServerImpl.java ---------------------------------------------------------------------- diff --git a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/ServerImpl.java b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/ServerImpl.java index 63f165d..e9a949a 100644 --- a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/ServerImpl.java +++ b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/ServerImpl.java @@ -4103,8 +4103,14 @@ class ServerImpl extends TcpDiscoveryImpl { if (U.isMacInvalidArgumentError(e)) LT.error(log, e, "Failed to initialize connection [sock=" + sock + "]\n\t" + U.MAC_INVALID_ARG_MSG); - else - LT.error(log, e, "Failed to initialize connection [sock=" + sock + ']'); + else { + U.error( + log, + "Failed to initialize connection (this can happen due to short time " + + "network problems and can be ignored if does not affect node discovery) " + + "[sock=" + sock + ']', + e); + } } onException("Caught exception on handshake [err=" + e + ", sock=" + sock + ']', e);