StephanEwen commented on a change in pull request #6711: [FLINK-9377] [core, 
state backends] Remove serializers from checkpoints
URL: https://github.com/apache/flink/pull/6711#discussion_r220739021
 
 

 ##########
 File path: 
flink-core/src/main/java/org/apache/flink/core/io/VersionedIOReadableWritable.java
 ##########
 @@ -77,6 +77,11 @@ private void resolveVersionRead(int readVersion) throws 
VersionMismatchException
                        }
                }
 
+               // TODO this is a temporary workaround for FLINK-9377 that 
should be removed
+               if (readVersion == getVersion() + 1) {
 
 Review comment:
   This seems fragile here, because it is in a common base class outside the 
serializer utils.
   Can this be solved by overriding "getCompatibleVersions()" instead?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to