Github user tillrohrmann commented on a diff in the pull request: https://github.com/apache/flink/pull/3182#discussion_r97280170 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/checkpoint/StateAssignmentOperation.java --- @@ -45,29 +45,37 @@ private final Logger logger; private final Map<JobVertexID, ExecutionJobVertex> tasks; - private final CompletedCheckpoint latest; + private final Map<JobVertexID, TaskState> taskStates; private final boolean allowNonRestoredState; public StateAssignmentOperation( Logger logger, Map<JobVertexID, ExecutionJobVertex> tasks, - CompletedCheckpoint latest, + Map<JobVertexID, TaskState> taskStates, boolean allowNonRestoredState) { this.logger = logger; this.tasks = tasks; - this.latest = latest; + this.taskStates = taskStates; this.allowNonRestoredState = allowNonRestoredState; --- End diff -- `Precondition` checks could be helpful here.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---