ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [5/7] ignite git commit: IO opts: fixed hang
Date Fri, 09 Sep 2016 14:01:53 GMT
IO opts: fixed hang


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

Branch: refs/heads/ignite-comm-opts1
Commit: dbca495a1cc1bd11f42bf7770622e529ecaef993
Parents: c9113dd
Author: Yakov Zhdanov <yzhdanov@gridgain.com>
Authored: Fri Sep 9 11:20:35 2016 +0300
Committer: Yakov Zhdanov <yzhdanov@gridgain.com>
Committed: Fri Sep 9 11:20:35 2016 +0300

----------------------------------------------------------------------
 .../java/org/apache/ignite/internal/util/nio/GridNioServer.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/dbca495a/modules/core/src/main/java/org/apache/ignite/internal/util/nio/GridNioServer.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/nio/GridNioServer.java
b/modules/core/src/main/java/org/apache/ignite/internal/util/nio/GridNioServer.java
index 0b94730..a2449f8 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/util/nio/GridNioServer.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/util/nio/GridNioServer.java
@@ -467,7 +467,7 @@ public class GridNioServer<T> {
             // Change from 0 to 1 means that worker thread should be waken up.
             int idx = ses.selectorIndex();
 
-            if (idx != 1) // TODO revisit
+            if (idx != -1) // TODO revisit
                 clientWorkers.get(idx).offer(fut);
         }
 


Mime
View raw message