You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by vo...@apache.org on 2018/11/28 14:07:41 UTC

[2/3] ignite git commit: Minors.

Minors.


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

Branch: refs/heads/ignite-10291
Commit: 24092fc6828e9246873814431dddfeb142fa1c8c
Parents: 7749dc7
Author: devozerov <vo...@gridgain.com>
Authored: Wed Nov 28 17:04:01 2018 +0300
Committer: devozerov <vo...@gridgain.com>
Committed: Wed Nov 28 17:04:01 2018 +0300

----------------------------------------------------------------------
 .../ignite/internal/processors/query/GridQueryProcessor.java       | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/24092fc6/modules/core/src/main/java/org/apache/ignite/internal/processors/query/GridQueryProcessor.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/query/GridQueryProcessor.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/query/GridQueryProcessor.java
index 16b011f..4ee2577 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/query/GridQueryProcessor.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/query/GridQueryProcessor.java
@@ -1762,6 +1762,8 @@ public class GridQueryProcessor extends GridProcessorAdapter {
         if (!cctx.isQueryEnabled())
             return null;
 
+        // TODO: Exit if cache is empty. How?
+
         if (!busyLock.enterBusy())
             return new GridFinishedFuture<>(new NodeStoppingException("Failed to rebuild indexes from hash " +
                 "(grid is stopping)."));