#IGNITE-53: wip.

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

Branch: refs/heads/ignite-65
Commit: a8f87668472e732cfc0a664acbb180087da954e0
Parents: 84aba1f
Author: ivasilinets <ivasilin...@gridgain.com>
Authored: Thu Jan 22 20:42:36 2015 +0300
Committer: ivasilinets <ivasilin...@gridgain.com>
Committed: Thu Jan 22 20:42:36 2015 +0300

----------------------------------------------------------------------
 .../grid/kernal/processors/cache/query/GridCacheQueryAdapter.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/a8f87668/modules/core/src/main/java/org/gridgain/grid/kernal/processors/cache/query/GridCacheQueryAdapter.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/main/java/org/gridgain/grid/kernal/processors/cache/query/GridCacheQueryAdapter.java
 
b/modules/core/src/main/java/org/gridgain/grid/kernal/processors/cache/query/GridCacheQueryAdapter.java
index ebfa554..ba4512c 100644
--- 
a/modules/core/src/main/java/org/gridgain/grid/kernal/processors/cache/query/GridCacheQueryAdapter.java
+++ 
b/modules/core/src/main/java/org/gridgain/grid/kernal/processors/cache/query/GridCacheQueryAdapter.java
@@ -469,7 +469,7 @@ public class GridCacheQueryAdapter<T> implements 
GridCacheQuery<T> {
                 return Collections.singletonList(cctx.localNode());
 
             case REPLICATED:
-                if (prj != null || !incBackups)
+                if (prj != null)
                     return nodes(cctx, prj);
 
                 GridCacheDistributionMode mode = 
cctx.config().getDistributionMode();

Reply via email to