ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agoncha...@apache.org
Subject [2/4] ignite git commit: ignite-db-x fix GridTcpCommunicationSpiRecoveryFailureDetectionSelfTest.testBlockListener
Date Tue, 21 Feb 2017 16:29:52 GMT
ignite-db-x fix GridTcpCommunicationSpiRecoveryFailureDetectionSelfTest.testBlockListener


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

Branch: refs/heads/ignite-3477
Commit: 946e71cf56b4b4dd3fd94749c4cddf6fe53caa89
Parents: 1cef4d3
Author: Dmitriy Govorukhin <dgovorukhin@gridgain.com>
Authored: Tue Feb 21 19:03:44 2017 +0300
Committer: Dmitriy Govorukhin <dgovorukhin@gridgain.com>
Committed: Tue Feb 21 19:03:44 2017 +0300

----------------------------------------------------------------------
 .../processors/cache/query/GridCacheDistributedQueryFuture.java | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/946e71cf/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/GridCacheDistributedQueryFuture.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/GridCacheDistributedQueryFuture.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/GridCacheDistributedQueryFuture.java
index 6110e0c..9d7dbbc 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/GridCacheDistributedQueryFuture.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/GridCacheDistributedQueryFuture.java
@@ -272,8 +272,7 @@ public class GridCacheDistributedQueryFuture<K, V, R> extends GridCacheQueryFutu
     @Override void clear() {
         GridCacheDistributedQueryManager<K, V> qryMgr = (GridCacheDistributedQueryManager<K,
V>)cctx.queries();
 
-        assert qryMgr != null;
-
-        qryMgr.removeQueryFuture(reqId);
+        if (qryMgr != null)
+            qryMgr.removeQueryFuture(reqId);
     }
 }


Mime
View raw message