ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agoncha...@apache.org
Subject ignite git commit: IGNITE-3477 - DEBUG - Do not drop server nodes
Date Thu, 06 Apr 2017 07:18:06 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-3477-debug [created] a2b5c011d


IGNITE-3477 - DEBUG - Do not drop server nodes


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/a2b5c011
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/a2b5c011
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/a2b5c011

Branch: refs/heads/ignite-3477-debug
Commit: a2b5c011d5b3f94283c631d0ce712a0066a2d0b1
Parents: b7aaf3e
Author: Alexey Goncharuk <alexey.goncharuk@gmail.com>
Authored: Thu Apr 6 10:18:09 2017 +0300
Committer: Alexey Goncharuk <alexey.goncharuk@gmail.com>
Committed: Thu Apr 6 10:18:09 2017 +0300

----------------------------------------------------------------------
 .../apache/ignite/spi/communication/tcp/TcpCommunicationSpi.java | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/a2b5c011/modules/core/src/main/java/org/apache/ignite/spi/communication/tcp/TcpCommunicationSpi.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/spi/communication/tcp/TcpCommunicationSpi.java
b/modules/core/src/main/java/org/apache/ignite/spi/communication/tcp/TcpCommunicationSpi.java
index 091e307..d9a13bf 100755
--- a/modules/core/src/main/java/org/apache/ignite/spi/communication/tcp/TcpCommunicationSpi.java
+++ b/modules/core/src/main/java/org/apache/ignite/spi/communication/tcp/TcpCommunicationSpi.java
@@ -3214,9 +3214,7 @@ public class TcpCommunicationSpi extends IgniteSpiAdapter implements
Communicati
                     "operating system firewall is disabled on local and remote hosts) " +
                     "[addrs=" + addrs + ']');
 
-            if (getSpiContext().node(node.id()) != null && (CU.clientNode(node) ||
!CU.clientNode(getLocalNode())) &&
-                X.hasCause(errs, ConnectException.class, SocketTimeoutException.class, HandshakeTimeoutException.class,
-                    IgniteSpiOperationTimeoutException.class)) {
+            if (getSpiContext().node(node.id()) != null && CU.clientNode(node)) {
                 LT.warn(log, "TcpCommunicationSpi failed to establish connection to node,
node will be dropped from " +
                     "cluster [" +
                     "rmtNode=" + node +


Mime
View raw message