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/12 16:04:35 UTC

incubator-ignite git commit: #ignite-373: Fix using offHeap iterator in removeAll.

Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-373 e50632cad -> 83550f8e0


#ignite-373: Fix using offHeap iterator 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/83550f8e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/83550f8e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/83550f8e

Branch: refs/heads/ignite-373
Commit: 83550f8e04f8caeeabdf39f5a13073c7e9a2ec7c
Parents: e50632c
Author: ivasilinets <iv...@gridgain.com>
Authored: Tue May 12 17:04:18 2015 +0300
Committer: ivasilinets <iv...@gridgain.com>
Committed: Tue May 12 17:04:18 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/83550f8e/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 cafa8b3..941a775 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
@@ -363,7 +363,7 @@ public abstract class GridDistributedCacheAdapter<K, V> extends GridCacheAdapter
                             }
 
                             GridCloseableIterator<Map.Entry<byte[], GridCacheSwapEntry>> iter =
-                                ctx.swap().iterator(part);
+                                dht.context().swap().iterator(part);
 
                             if (iter != null) {
                                 for (Map.Entry<byte[], GridCacheSwapEntry> e : iter)