dawidwys commented on a change in pull request #18086:
URL: https://github.com/apache/flink/pull/18086#discussion_r768535275
##########
File path:
flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/tasks/StreamTask.java
##########
@@ -1271,6 +1273,18 @@ private boolean performCheckpoint(
}
}
+ private void checkForcedFullSnapshotSupport(CheckpointOptions
checkpointOptions) {
+ if (checkpointOptions.isForcedFullSnapshot()
+ && !stateBackend.supportsForcedFullSnapshot()) {
+ throw new IllegalStateException(
Review comment:
We do not have all the info in `StreamingJobGraphGenerator`, we have
only the application side state backend which might not be specified. State
backend might also be initialized on the `TaskManager`.
I'll look into other potential places where we could call it.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]