Repository: ignite
Updated Branches:
  refs/heads/master 36e8cf54a -> 19311d422


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/19311d42
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/19311d42
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/19311d42

Branch: refs/heads/master
Commit: 19311d422afc01c69aeb26ff77553d569c2aeaf0
Parents: 36e8cf5
Author: Aleksey Plekhanov <[email protected]>
Authored: Wed Apr 25 18:40:46 2018 +0300
Committer: Andrey Gura <[email protected]>
Committed: Wed Apr 25 18:40:46 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/19311d42/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 f17f7eb..0cbe0a0 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