rkhachatryan commented on a change in pull request #18086:
URL: https://github.com/apache/flink/pull/18086#discussion_r768430372
##########
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:
I think it makes sense to check the backend support ASAP, maybe in
`StreamingJobGraphGenerator`. All the info should already be available there.
However, it can also be added later as an optimization later.
WDYT?
--
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]