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


##########
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:
   > So we might want to (re)introduce a flag to disable materialization.
    
   Currently,  if `PERIODIC_MATERIALIZATION_INTERVAL` is negative, the periodic 
materialization will be disabled. Do you mean to introduce a **new** flag?  



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