Skip to content

Commit

Permalink
[hotfix][checkpointing] Fix the invalid argument in constuctor of Che…
Browse files Browse the repository at this point in the history
…ckpointCoordinatorConfiguration
  • Loading branch information
zhijiangW authored and pnowojski committed May 16, 2020
1 parent 084b4b2 commit 909a13d
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

package org.apache.flink.runtime.jobgraph.tasks;

import org.apache.flink.annotation.VisibleForTesting;
import org.apache.flink.runtime.checkpoint.CheckpointCoordinator;
import org.apache.flink.runtime.checkpoint.CheckpointRetentionPolicy;
import org.apache.flink.util.Preconditions;
Expand Down Expand Up @@ -66,6 +67,7 @@ public class CheckpointCoordinatorConfiguration implements Serializable {
* @deprecated use {@link #builder()}.
*/
@Deprecated
@VisibleForTesting
public CheckpointCoordinatorConfiguration(
long checkpointInterval,
long checkpointTimeout,
Expand All @@ -85,7 +87,7 @@ public CheckpointCoordinatorConfiguration(
isExactlyOnce,
isPreferCheckpointForRecovery,
tolerableCpFailureNumber,
false);
isUnalignedCheckpoint);
}

private CheckpointCoordinatorConfiguration(
Expand Down

0 comments on commit 909a13d

Please sign in to comment.