[ https://issues.apache.org/jira/browse/FLINK-9352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16493246#comment-16493246 ]
ASF GitHub Bot commented on FLINK-9352: --------------------------------------- Github user yanghua commented on a diff in the pull request: https://github.com/apache/flink/pull/6092#discussion_r191341746 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/checkpoint/CheckpointCoordinator.java --- @@ -1173,9 +1179,10 @@ public void startCheckpointScheduler() { stopCheckpointScheduler(); periodicScheduling = true; + long initialDelay = schedulerInitialDelayGenerator.nextLong( + minPauseBetweenCheckpointsNanos / 1_000_000, baseInterval); --- End diff -- @yuqi1129 please see the constructor's [code segment](https://github.com/yanghua/flink/blob/1eb432833bf2dd23187194500b6e1c6523f30605/flink-runtime/src/main/java/org/apache/flink/runtime/checkpoint/CheckpointCoordinator.java#L218) > In Standalone checkpoint recover mode many jobs with same checkpoint interval > cause IO pressure > ----------------------------------------------------------------------------------------------- > > Key: FLINK-9352 > URL: https://issues.apache.org/jira/browse/FLINK-9352 > Project: Flink > Issue Type: Improvement > Components: State Backends, Checkpointing > Affects Versions: 1.5.0, 1.4.2, 1.6.0 > Reporter: vinoyang > Assignee: vinoyang > Priority: Major > > currently, the periodic checkpoint coordinator startCheckpointScheduler uses > *baseInterval* as the initialDelay parameter. the *baseInterval* is also the > checkpoint interval. > In standalone checkpoint mode, many jobs config the same checkpoint interval. > When all jobs being recovered (the cluster restart or jobmanager leadership > switched), all jobs' checkpoint period will tend to accordance. All jobs' > CheckpointCoordinator would start and trigger in a approximate time point. > This caused the high IO cost in the same time period in our production > scenario. > I suggest let the scheduleAtFixedRate's initial delay parameter as a API > config which can let user scatter checkpoint in this scenario. > > cc [~StephanEwen] [~Zentol] -- This message was sent by Atlassian JIRA (v7.6.3#76005)