[ https://issues.apache.org/jira/browse/FLINK-5969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15985379#comment-15985379 ]
ASF GitHub Bot commented on FLINK-5969: --------------------------------------- Github user zentol commented on a diff in the pull request: https://github.com/apache/flink/pull/3778#discussion_r113441899 --- Diff: flink-streaming-java/src/main/java/org/apache/flink/streaming/api/operators/AbstractUdfStreamOperator.java --- @@ -155,12 +155,14 @@ public void snapshotState(FSDataOutputStream out, long checkpointId, long timest @Override public void restoreState(FSDataInputStream in) throws Exception { + boolean readFlag = false; if (userFunction instanceof Checkpointed || - (userFunction instanceof CheckpointedRestoring && in instanceof Migration)) { + (userFunction instanceof CheckpointedRestoring)) { --- End diff -- remove braces around `userFunction instanceof CheckpointedRestoring`; could also move it to the previous line. > Add savepoint backwards compatibility tests from 1.2 to 1.3 > ----------------------------------------------------------- > > Key: FLINK-5969 > URL: https://issues.apache.org/jira/browse/FLINK-5969 > Project: Flink > Issue Type: Improvement > Components: Tests > Affects Versions: 1.3.0 > Reporter: Aljoscha Krettek > Assignee: Aljoscha Krettek > Priority: Blocker > Fix For: 1.3.0 > > > We currently only have tests that test migration from 1.1 to 1.3, because we > added these tests when releasing Flink 1.2. > We have to copy/migrate those tests: > - {{StatefulUDFSavepointMigrationITCase}} > - {{*MigrationTest}} > - {{AbstractKeyedCEPPatternOperator}} -- This message was sent by Atlassian JIRA (v6.3.15#6346)