Zakelly commented on code in PR #25501: URL: https://github.com/apache/flink/pull/25501#discussion_r1805987455
########## flink-runtime/src/main/java/org/apache/flink/streaming/api/operators/StreamOperatorStateHandler.java: ########## @@ -244,6 +244,11 @@ void snapshotState( && ((AbstractKeyedStateBackend<?>) keyedStateBackend) .requiresLegacySynchronousTimerSnapshots( checkpointOptions.getCheckpointType()); + requiresLegacyRawKeyedStateSnapshots |= Review Comment: I think here we could leverage the `useAsyncState` to determine whether to check via `AsyncKeyedStateBackend` or `AbstractKeyedStateBackend`. -- 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: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org