curcur commented on code in PR #20585:
URL: https://github.com/apache/flink/pull/20585#discussion_r946315050


##########
flink-state-backends/flink-statebackend-changelog/src/main/java/org/apache/flink/state/changelog/PeriodicMaterializationManager.java:
##########
@@ -118,7 +118,7 @@ public void start() {
 
             LOG.info("Task {} starts periodic materialization", subtaskName);
 
-            scheduleNextMaterialization(periodicMaterializeDelay + 
initialDelay);
+            scheduleNextMaterialization(initialDelay);

Review Comment:
   I think we should have some way to disable the materialization (flag).
   
   I am not a fan of using `periodicMaterializationDelay` very long to disable 
materialization. It is implicit and may lead error.



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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to