ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ivasilin...@apache.org
Subject incubator-ignite git commit: #ignite-964: fix test
Date Fri, 03 Jul 2015 16:53:38 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-964-1 2105d7222 -> f3dc93a18


#ignite-964: fix test


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

Branch: refs/heads/ignite-964-1
Commit: f3dc93a18f49e0d8c338c2309d5a11f1cbcea5f3
Parents: 2105d72
Author: ivasilinets <ivasilinets@gridgain.com>
Authored: Fri Jul 3 19:53:30 2015 +0300
Committer: ivasilinets <ivasilinets@gridgain.com>
Committed: Fri Jul 3 19:53:30 2015 +0300

----------------------------------------------------------------------
 .../processors/rest/handlers/cache/GridCacheCommandHandler.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/f3dc93a1/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/handlers/cache/GridCacheCommandHandler.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/handlers/cache/GridCacheCommandHandler.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/handlers/cache/GridCacheCommandHandler.java
index 26140f3..d7ac3d7 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/handlers/cache/GridCacheCommandHandler.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/handlers/cache/GridCacheCommandHandler.java
@@ -1319,7 +1319,7 @@ public class GridCacheCommandHandler extends GridRestCommandHandlerAdapter
{
 
         /** {@inheritDoc} */
         @Override public IgniteInternalFuture<?> applyx(IgniteInternalCache<Object,
Object> c, GridKernalContext ctx) {
-            return c.sizeAsync(new CachePeekMode[]{CachePeekMode.ALL});
+            return c.sizeAsync(new CachePeekMode[]{CachePeekMode.PRIMARY});
         }
     }
 }


Mime
View raw message