ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anovi...@apache.org
Subject ignite git commit: IGNITE-1161 Typo.
Date Tue, 01 Dec 2015 14:11:23 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-1.5 c38976319 -> e0c970a5f


IGNITE-1161 Typo.


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

Branch: refs/heads/ignite-1.5
Commit: e0c970a5fe46940ac9ab2355dd5913f2f7fc2a69
Parents: c389763
Author: anovikov <anovikov@gridgain.com>
Authored: Tue Dec 1 21:11:03 2015 +0700
Committer: anovikov <anovikov@gridgain.com>
Committed: Tue Dec 1 21:11:03 2015 +0700

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


http://git-wip-us.apache.org/repos/asf/ignite/blob/e0c970a5/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/handlers/query/QueryCommandHandler.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/handlers/query/QueryCommandHandler.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/handlers/query/QueryCommandHandler.java
index 2961a27..bb929a4 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/handlers/query/QueryCommandHandler.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/handlers/query/QueryCommandHandler.java
@@ -90,7 +90,7 @@ public class QueryCommandHandler extends GridRestCommandHandlerAdapter {
 
                     long createTime = qryCurIt.timestamp();
 
-                    if (createTime + idleQryCurTimeout > time && qryCurIt.tryLock())
{
+                    if (time > createTime + idleQryCurTimeout && qryCurIt.tryLock())
{
                         try {
                             qryCurIt.timestamp(-1);
 


Mime
View raw message