You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by iv...@apache.org on 2015/07/03 18:53:38 UTC
incubator-ignite git commit: #ignite-964: fix test
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 <iv...@gridgain.com>
Authored: Fri Jul 3 19:53:30 2015 +0300
Committer: ivasilinets <iv...@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});
}
}
}