ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject incubator-ignite git commit: gg-10596: increased failure detection threshold
Date Wed, 22 Jul 2015 11:39:44 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-752 cdcd33beb -> 4f77035c0


gg-10596: increased failure detection threshold


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

Branch: refs/heads/ignite-752
Commit: 4f77035c0684bfe54400ecea8a9b0ba1339c2c46
Parents: cdcd33b
Author: Denis Magda <dmagda@gridgain.com>
Authored: Wed Jul 22 14:39:27 2015 +0300
Committer: Denis Magda <dmagda@gridgain.com>
Committed: Wed Jul 22 14:39:27 2015 +0300

----------------------------------------------------------------------
 .../java/org/apache/ignite/configuration/IgniteConfiguration.java | 2 +-
 .../apache/ignite/spi/communication/tcp/TcpCommunicationSpi.java  | 3 ++-
 .../java/org/apache/ignite/spi/discovery/tcp/TcpDiscoverySpi.java | 2 +-
 3 files changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/4f77035c/modules/core/src/main/java/org/apache/ignite/configuration/IgniteConfiguration.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/configuration/IgniteConfiguration.java
b/modules/core/src/main/java/org/apache/ignite/configuration/IgniteConfiguration.java
index 6fc5893..5ed5a6c 100644
--- a/modules/core/src/main/java/org/apache/ignite/configuration/IgniteConfiguration.java
+++ b/modules/core/src/main/java/org/apache/ignite/configuration/IgniteConfiguration.java
@@ -191,7 +191,7 @@ public class IgniteConfiguration {
     public static final boolean DFLT_CACHE_SANITY_CHECK_ENABLED = true;
 
     /** Default failure detection threshold used by DiscoverySpi and CommunicationSpi in
millis. */
-    public static final long DFLT_FAILURE_DETECTION_THRESHOLD = 10_000;
+    public static final long DFLT_FAILURE_DETECTION_THRESHOLD = 12_000;
 
     /** Optional grid name. */
     private String gridName;

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/4f77035c/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 5d6dee3..b55dde2 100644
--- 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
@@ -2131,7 +2131,8 @@ public class TcpCommunicationSpi extends IgniteSpiAdapter
                     try {
                         ch.socket().connect(addr, (int)timeoutHelper.nextTimeoutChunk(connTimeout));
 
-                        rcvCnt = safeHandshake(ch, recoveryDesc, node.id(), timeoutHelper.nextTimeoutChunk(connTimeout0));
+                        rcvCnt = safeHandshake(ch, recoveryDesc, node.id(),
+                            timeoutHelper.nextTimeoutChunk(connTimeout0));
 
                         if (rcvCnt == -1)
                             return null;

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/4f77035c/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/TcpDiscoverySpi.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/TcpDiscoverySpi.java
b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/TcpDiscoverySpi.java
index 1f93feb..d754dab 100644
--- a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/TcpDiscoverySpi.java
+++ b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/TcpDiscoverySpi.java
@@ -218,7 +218,7 @@ public class TcpDiscoverySpi extends IgniteSpiAdapter implements DiscoverySpi,
T
     public static final int DFLT_MAX_MISSED_CLIENT_HEARTBEATS = 5;
 
     /** Default connection check frequency. */
-    public static final int DFLT_CONN_CHECK_FREQ = 1000;
+    public static final int DFLT_CONN_CHECK_FREQ = 2000;
 
     /** Default IP finder clean frequency in milliseconds (value is <tt>60,000ms</tt>).
*/
     public static final long DFLT_IP_FINDER_CLEAN_FREQ = 60 * 1000;


Mime
View raw message