AHeise commented on a change in pull request #13735: URL: https://github.com/apache/flink/pull/13735#discussion_r517338838
########## File path: flink-runtime/src/main/java/org/apache/flink/runtime/executiongraph/Execution.java ########## @@ -725,6 +727,15 @@ public void deploy() throws JobException { LOG.info("Deploying {} (attempt #{}) with attempt id {} to {} with allocation id {}", vertex.getTaskNameWithSubtaskIndex(), attemptNumber, vertex.getCurrentExecutionAttempt().getAttemptId(), getAssignedResourceLocation(), slot.getAllocationId()); + if (taskRestore != null) { + checkState(taskRestore.getTaskStateSnapshot().getSubtaskStateMappings().stream().allMatch(entry -> + entry.getValue().getInputChannelMappings().stream() + .allMatch(mapping -> mapping.equals(OperatorSubtaskState.VirtualChannelMapping.NO_MAPPING)) && + entry.getValue().getOutputChannelMappings().stream() + .allMatch(mapping -> mapping.equals(OperatorSubtaskState.VirtualChannelMapping.NO_MAPPING)) + ), "Rescaling from unaligned checkpoint is not yet supported."); Review comment: This is only temporary and could be avoided by having the second PR merged into the first PR. I needed a point to cancel while still allowing tests to run on the different pieces. ---------------------------------------------------------------- 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: us...@infra.apache.org