alamar commented on a change in pull request #6235: IGNITE-8376 Cluster 
activation event added
URL: https://github.com/apache/ignite/pull/6235#discussion_r262515392
 
 

 ##########
 File path: 
modules/core/src/main/java/org/apache/ignite/internal/cluster/IgniteClusterImpl.java
 ##########
 @@ -315,15 +317,27 @@ public IgniteClusterImpl(GridKernalContext ctx) {
 
         try {
             ctx.state().changeGlobalState(active, baselineNodes(), 
false).get();
+
+            recordEvent(active ? EventType.EVT_CLUSTER_ACTIVATED : 
EventType.EVT_CLUSTER_DEACTIVATED);
         }
         catch (IgniteCheckedException e) {
+            recordEvent(EventType.EVT_CLUSTER_ACTIVATION_FAILED);
 
 Review comment:
   I'm not sure that we need this one. I can't find any other unhandled failure 
events.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to