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


##########
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:
   This change affects the tests which use very high 
`periodicMaterializationDelay` to effictively disable materialization. There, 
`periodicMaterializationDelay` set to `Long.MAX` may or may not disable the 
materialization.
   
   So we might want to (re)introduce a flag to disable materialization.
   
   WDYT @curcur ?



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