Repository: ignite
Updated Branches:
  refs/heads/ignite-2.5 973410371 -> 54fc0eb8b


IGNITE-8374 Fixed hanging of state transition completeion on 
cluster().activate()

Signed-off-by: Andrey Gura <[email protected]>


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

Branch: refs/heads/ignite-2.5
Commit: 54fc0eb8bf420ecb0dda1280ef400261d58ef20e
Parents: 9734103
Author: Aleksey Plekhanov <[email protected]>
Authored: Wed Apr 25 18:40:46 2018 +0300
Committer: Andrey Gura <[email protected]>
Committed: Wed Apr 25 18:42:23 2018 +0300

----------------------------------------------------------------------
 .../src/main/java/org/apache/ignite/internal/IgniteKernal.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/54fc0eb8/modules/core/src/main/java/org/apache/ignite/internal/IgniteKernal.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/main/java/org/apache/ignite/internal/IgniteKernal.java 
b/modules/core/src/main/java/org/apache/ignite/internal/IgniteKernal.java
index f4c7cce..dc1307c 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/IgniteKernal.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/IgniteKernal.java
@@ -2024,7 +2024,7 @@ public class IgniteKernal implements IgniteEx, 
IgniteMXBean, Externalizable {
             log.info(str);
         }
 
-        if (!cluster().active()) {
+        if (!ctx.state().clusterState().active()) {
             U.quietAndInfo(log, ">>> Ignite cluster is not active (limited 
functionality available). " +
                 "Use control.(sh|bat) script or IgniteCluster interface to 
activate.");
         }

Reply via email to