You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2020/11/24 11:48:01 UTC

[GitHub] [flink] StephanEwen commented on a change in pull request #14186: [FLINK-20222][checkpointing] Operator Coordinators are reset with null state when no checkpoint or state available.

StephanEwen commented on a change in pull request #14186:
URL: https://github.com/apache/flink/pull/14186#discussion_r529485212



##########
File path: flink-runtime/src/main/java/org/apache/flink/runtime/checkpoint/CheckpointCoordinator.java
##########
@@ -1869,4 +1908,16 @@ public boolean isForce() {
 			return props.forceCheckpoint();
 		}
 	}
+
+	private enum CoordinatorRestore {
+
+		/** Coordinators are always restored. If there is no checkpoint, they are restored empty. */
+		ALWAYS,

Review comment:
       I'll change this to `RESTORE_OR_RESET`, `RESTORE_IF_CHECKPOINT_PRESENT`, `SKIP`.




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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org