rkhachatryan commented on a change in pull request #18086:
URL: https://github.com/apache/flink/pull/18086#discussion_r768640651



##########
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 TM initializes backends according to what was configured on JM, 
i.e. in `StreamingJobGraphGenerator`.




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


Reply via email to