You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by ag...@apache.org on 2017/04/13 15:34:36 UTC

[06/39] ignite git commit: Fix method fastMap.

Fix method fastMap.


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

Branch: refs/heads/ignite-4587
Commit: 92e11e85cc3490b8544746e2b98336a29316c725
Parents: 062d631
Author: Max Kozlov <dr...@gmail.com>
Authored: Mon Feb 13 20:00:29 2017 +0300
Committer: Max Kozlov <dr...@gmail.com>
Committed: Mon Feb 13 20:00:29 2017 +0300

----------------------------------------------------------------------
 .../cache/distributed/dht/atomic/GridDhtAtomicCache.java          | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/92e11e85/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/GridDhtAtomicCache.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/GridDhtAtomicCache.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/GridDhtAtomicCache.java
index f09f073..140737e 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/GridDhtAtomicCache.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/GridDhtAtomicCache.java
@@ -1297,8 +1297,7 @@ public class GridDhtAtomicCache<K, V> extends GridDhtCacheAdapter<K, V> {
      * @return {@code True} if fast-map.
      */
     public boolean isFastMap(CacheEntryPredicate[] filters, GridCacheOperation op) {
-        return F.isEmpty(filters) && op != TRANSFORM && ctx.config().getWriteSynchronizationMode() == FULL_SYNC &&
-            !(ctx.writeThrough() && ctx.config().getInterceptor() != null);
+        return false;
     }
 
     /**