dawidwys commented on a change in pull request #13405:
URL: https://github.com/apache/flink/pull/13405#discussion_r492155621



##########
File path: 
flink-streaming-java/src/main/java/org/apache/flink/streaming/api/operators/StreamOperatorStateHandler.java
##########
@@ -217,14 +218,14 @@ void snapshotState(
        }
 
        public void notifyCheckpointComplete(long checkpointId) throws 
Exception {
-               if (keyedStateBackend != null) {
-                       
keyedStateBackend.notifyCheckpointComplete(checkpointId);
+               if (keyedStateBackend != null && keyedStateBackend instanceof 
CheckpointListener) {

Review comment:
       Makes sense.




----------------------------------------------------------------
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:
[email protected]


Reply via email to