You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by sb...@apache.org on 2015/05/13 11:46:54 UTC

[5/6] incubator-ignite git commit: #ignite-373: If cache is not configured on node return true in removeAll.

#ignite-373: If cache is not configured on node return true in removeAll.


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

Branch: refs/heads/ignite-373
Commit: 525d42a95c6735fa6595471868f1228c9e883c9e
Parents: a0161d9
Author: ivasilinets <iv...@gridgain.com>
Authored: Wed May 13 12:41:12 2015 +0300
Committer: ivasilinets <iv...@gridgain.com>
Committed: Wed May 13 12:41:12 2015 +0300

----------------------------------------------------------------------
 .../processors/cache/distributed/GridDistributedCacheAdapter.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/525d42a9/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/GridDistributedCacheAdapter.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/GridDistributedCacheAdapter.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/GridDistributedCacheAdapter.java
index 385c95e..b7ac198 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/GridDistributedCacheAdapter.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/GridDistributedCacheAdapter.java
@@ -322,7 +322,7 @@ public abstract class GridDistributedCacheAdapter<K, V> extends GridCacheAdapter
             GridCacheAdapter cache = ((IgniteKernal) ignite).context().cache().internalCache(cacheName);
 
             if (cache == null)
-                return false;
+                return true;
 
             final GridCacheContext<K, V> ctx = cache.context();