alamar commented on a change in pull request #8688:
URL: https://github.com/apache/ignite/pull/8688#discussion_r562884800



##########
File path: modules/core/src/main/java/org/apache/ignite/IgniteCluster.java
##########
@@ -527,6 +527,12 @@
      * when all dirty pages are prepared for checkpoint, but not necessarily 
flushed to disk.
      * <p>
      * WAL state can be changed only for persistent caches.
+     * <p>
+     * <b>NOTE:</b>
+     * Currently, this method should only be called on a stable topology when 
no nodes are leaving or joining cluster,

Review comment:
       I don't think this is appropriate place for a TODO. We have this link in 
developer warning, where it is more convenient in my opinion.
   
   TODOs usually reside in comments which are not javadoc.

##########
File path: 
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/WalStateManager.java
##########
@@ -304,6 +305,12 @@ public boolean prohibitWALDisabling() {
             String.format("Cache WAL mode cannot be changed within lock or 
transaction " +
                     "[cacheNames=%s, walEnabled=%s]", cacheNames, enabled));
 

Review comment:
       There's a link in the text below. But I can also add this comment. What 
do you think?




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


Reply via email to