Vladsz83 commented on a change in pull request #7471: IGNITE-12701 : Disallow 
silent deactivation in CLI and REST.
URL: https://github.com/apache/ignite/pull/7471#discussion_r387548787
 
 

 ##########
 File path: 
modules/core/src/main/java/org/apache/ignite/internal/processors/cluster/ChangeGlobalStateMessage.java
 ##########
 @@ -71,6 +71,9 @@
     @GridToStringExclude
     @Nullable private transient ServiceDeploymentActions 
serviceDeploymentActions;
 
+    /** Forced change of cluster state. */
+    private boolean force = true;
 
 Review comment:
   > Why the default value is true?
   
   For backward compatibility. Most of the deactivation requests are still 
forced. Like through `Ignite, IgniteMXBean, IgniteCluster` etc. Also there is 
usage of this message from another places: 
   `GridClusterStateProcessor#autoAdjustExchangeActions(), 
GridClusterStateProcessor#autoAdjustInMemoryClusterState()`
   

----------------------------------------------------------------
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