ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agoncha...@apache.org
Subject [5/9] ignite git commit: GG-13361 More debug
Date Tue, 23 Jan 2018 14:01:47 GMT
GG-13361 More debug


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

Branch: refs/heads/ignite-7505
Commit: 02bac6a6a69c104adf4d35cffab46b04cebb1c66
Parents: 98566e0
Author: Alexey Goncharuk <alexey.goncharuk@gmail.com>
Authored: Tue Jan 23 13:11:11 2018 +0300
Committer: Alexey Goncharuk <alexey.goncharuk@gmail.com>
Committed: Tue Jan 23 13:11:11 2018 +0300

----------------------------------------------------------------------
 .../internal/processors/affinity/GridAffinityAssignmentCache.java | 3 +++
 .../internal/processors/cluster/GridClusterStateProcessor.java    | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/02bac6a6/modules/core/src/main/java/org/apache/ignite/internal/processors/affinity/GridAffinityAssignmentCache.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/affinity/GridAffinityAssignmentCache.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/affinity/GridAffinityAssignmentCache.java
index 34c6f34..444674b 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/affinity/GridAffinityAssignmentCache.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/affinity/GridAffinityAssignmentCache.java
@@ -200,6 +200,9 @@ public class GridAffinityAssignmentCache {
         CacheGroupContext grpCtx = ctx.cache().cacheGroup(grpId);
 
         if (grpCtx != null && grpCtx.persistenceEnabled() && !grpCtx.isLocal())
{
+            if ("cache3".equals(grpCtx.cacheOrGroupName()))
+                U.debug(log, "Initializing affinity assignment [topVer=" + topVer + ", assign="
+ affAssignment + ']');
+
             for (List<ClusterNode> pNodes : affAssignment) {
                 for (ClusterNode pNode : pNodes)
                     assert discoCache.baselineNode(pNode.id());

http://git-wip-us.apache.org/repos/asf/ignite/blob/02bac6a6/modules/core/src/main/java/org/apache/ignite/internal/processors/cluster/GridClusterStateProcessor.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cluster/GridClusterStateProcessor.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cluster/GridClusterStateProcessor.java
index 54e0f56..82dd375 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cluster/GridClusterStateProcessor.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cluster/GridClusterStateProcessor.java
@@ -262,7 +262,7 @@ public class GridClusterStateProcessor extends GridProcessorAdapter implements
I
         try {
             if (blt != null) {
                 if (log.isInfoEnabled()) {
-                    U.log(log, "Writing BaselineTopology[id=" + blt.id() + "]");
+                    U.log(log, "Writing BaselineTopology[id=" + blt.id() + ", baseline="
+ blt.consistentIds() + "]");
 
                     if (prevBltHistItem != null)
                         U.log(log, "Writing BaselineTopologyHistoryItem[id=" + prevBltHistItem.id()
+ "]");


Mime
View raw message