ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject ignite git commit: ignite-5075-pds
Date Wed, 31 May 2017 12:56:47 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-5075-debug 43d100b00 -> 4dd56f3d2


ignite-5075-pds


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

Branch: refs/heads/ignite-5075-debug
Commit: 4dd56f3d23b005c1389b9a2725344c3eea5f4d5d
Parents: 43d100b
Author: sboikov <sboikov@gridgain.com>
Authored: Wed May 31 15:56:41 2017 +0300
Committer: sboikov <sboikov@gridgain.com>
Committed: Wed May 31 15:56:41 2017 +0300

----------------------------------------------------------------------
 .../processors/affinity/GridAffinityAssignmentCache.java         | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/4dd56f3d/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 b478462..84eb608 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
@@ -295,6 +295,10 @@ public class GridAffinityAssignmentCache {
 
         assert assignment != null;
 
+        log.info("Assigned partitions: " + assignment.size() + " parts: " + aff.partitions()
+ " aff=" + aff + ", c=" + cacheOrGrpName);
+
+        assert assignment.size() == aff.partitions() : aff;
+
         idealAssignment = assignment;
 
         if (locCache)


Mime
View raw message