ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [1/6] ignite git commit: ignite-5578
Date Wed, 19 Jul 2017 10:13:30 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-5578 a7cb82962 -> 3db3266c2


ignite-5578


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

Branch: refs/heads/ignite-5578
Commit: dd44df9a76c8fbb5511a1bb415691b2e1973391d
Parents: f006bfb
Author: sboikov <sboikov@gridgain.com>
Authored: Wed Jul 19 11:39:08 2017 +0300
Committer: sboikov <sboikov@gridgain.com>
Committed: Wed Jul 19 11:39:08 2017 +0300

----------------------------------------------------------------------
 .../processors/cache/CacheAffinitySharedManager.java         | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/dd44df9a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheAffinitySharedManager.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheAffinitySharedManager.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheAffinitySharedManager.java
index 8a293ae..a59f5d7 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheAffinitySharedManager.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheAffinitySharedManager.java
@@ -518,11 +518,13 @@ public class CacheAffinitySharedManager<K, V> extends GridCacheSharedManagerAdap
         }
 
         for (DynamicCacheDescriptor desc : startDescs) {
-            CacheGroupContext grp = cctx.cache().cacheGroup(desc.groupId());
+            if (desc.cacheConfiguration().getCacheMode() != LOCAL) {
+                CacheGroupContext grp = cctx.cache().cacheGroup(desc.groupId());
 
-            assert grp != null;
+                assert grp != null;
 
-            grp.topology().onExchangeDone(grp.affinity().cachedAffinity(topVer), true);
+                grp.topology().onExchangeDone(grp.affinity().cachedAffinity(topVer), true);
+            }
         }
 
         cctx.cache().initCacheProxies(topVer, null);


Mime
View raw message