ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [21/50] ignite git commit: Fixed incorrect handling of DS in cache not present on local node.
Date Tue, 20 Jun 2017 06:00:23 GMT
Fixed incorrect handling of DS in cache not present on local node.


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

Branch: refs/heads/ignite-2.1.2-exchange
Commit: 3a1658590d028c42435f47fcccceedaa11c9d436
Parents: 636ddb0
Author: Ilya Lantukh <ilantukh@gridgain.com>
Authored: Sat Jun 17 00:03:54 2017 +0300
Committer: Ilya Lantukh <ilantukh@gridgain.com>
Committed: Sat Jun 17 00:03:54 2017 +0300

----------------------------------------------------------------------
 .../processors/datastructures/DataStructuresProcessor.java         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/3a165859/modules/core/src/main/java/org/apache/ignite/internal/processors/datastructures/DataStructuresProcessor.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/datastructures/DataStructuresProcessor.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/datastructures/DataStructuresProcessor.java
index 441f4b4..52cc9e9 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/datastructures/DataStructuresProcessor.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/datastructures/DataStructuresProcessor.java
@@ -505,7 +505,7 @@ public final class DataStructuresProcessor extends GridProcessorAdapter
implemen
         IgniteInternalCache<GridCacheInternalKey, AtomicDataStructureValue> cache0
= ctx.cache().cache(cacheName);
 
         if (cache0 == null) {
-            if (!create)
+            if (!create && ctx.cache().cacheDescriptor(cacheName) == null)
                 return null;
 
             ctx.cache().dynamicStartCache(cacheConfiguration(cfg, cacheName, grpName),


Mime
View raw message