NSAmelchev commented on a change in pull request #7358: IGNITE-12614 : Disallow
silent deactivation of cluster to prevent in-mem data loss.
URL: https://github.com/apache/ignite/pull/7358#discussion_r375291183
##########
File path:
modules/core/src/main/java/org/apache/ignite/internal/IgniteKernal.java
##########
@@ -1959,6 +1962,9 @@ private void fillNodeAttributes(boolean notifyEnabled)
throws IgniteCheckedExcep
ctx.addNodeAttribute(ATTR_EVENT_DRIVEN_SERVICE_PROCESSOR_ENABLED,
ctx.service() instanceof IgniteServiceProcessor);
+
+ //Allows to predict behavior on deactivation.
+ add(ATTR_MEMORY_ERASURE_ON_DEACTIVATION,
!getBoolean(IGNITE_REUSE_MEMORY_ON_DEACTIVATE));
Review comment:
Can we change the var name and do not inverse var?
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services