ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [04/19] ignite git commit: IGNITE-5155
Date Sat, 10 Jun 2017 06:20:35 GMT
IGNITE-5155


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

Branch: refs/heads/ignite-5155
Commit: a0cdab2d2995aca53d7d5957d8277118678ff01f
Parents: 53d4520
Author: Igor Seliverstov <gvvinblade@gmail.com>
Authored: Thu Jun 8 13:20:19 2017 +0300
Committer: Igor Seliverstov <gvvinblade@gmail.com>
Committed: Thu Jun 8 13:20:19 2017 +0300

----------------------------------------------------------------------
 .../org/apache/ignite/internal/IgniteDiagnosticMessage.java   | 4 +++-
 .../processors/cache/GridCachePartitionExchangeManager.java   | 7 +++++--
 2 files changed, 8 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/a0cdab2d/modules/core/src/main/java/org/apache/ignite/internal/IgniteDiagnosticMessage.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/IgniteDiagnosticMessage.java
b/modules/core/src/main/java/org/apache/ignite/internal/IgniteDiagnosticMessage.java
index 75c5efc..9561b65 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/IgniteDiagnosticMessage.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/IgniteDiagnosticMessage.java
@@ -261,7 +261,9 @@ public class IgniteDiagnosticMessage implements Message {
 
                 dumpExchangeInfo(sb, ctx);
 
-                sb.append(U.nl()).append(commInfo.get());
+                sb.append(U.nl());
+
+                sb.append(commInfo.get(10_000));
 
                 moreInfo(sb, ctx);
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/a0cdab2d/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCachePartitionExchangeManager.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCachePartitionExchangeManager.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCachePartitionExchangeManager.java
index 88e8f85..e9587f5 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCachePartitionExchangeManager.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCachePartitionExchangeManager.java
@@ -1487,11 +1487,14 @@ public class GridCachePartitionExchangeManager<K, V> extends
GridCacheSharedMana
                         U.dumpThreads(diagnosticLog);
                     }
 
-                    U.warn(log, "Found long running cache operations, dump IO statistics.");
+
 
                     // Dump IO manager statistics.
-                    if (IgniteSystemProperties.getBoolean(IgniteSystemProperties.IGNITE_IO_DUMP_ON_TIMEOUT,
false))
+                    if (IgniteSystemProperties.getBoolean(IgniteSystemProperties.IGNITE_IO_DUMP_ON_TIMEOUT,
false)) {
+                        U.warn(diagnosticLog, "Found long running cache operations, dump
IO statistics.");
+
                         cctx.gridIO().dumpStats();
+                    }
                 }
             }
             else {


Mime
View raw message