tzulitai 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_r223678432
 
 

 ##########
 File path: 
flink-runtime/src/main/java/org/apache/flink/runtime/state/KeyedBackendSerializationProxy.java
 ##########
 @@ -44,7 +47,17 @@
  */
 public class KeyedBackendSerializationProxy<K> extends 
VersionedIOReadableWritable {
 
-       public static final int VERSION = 5;
+       public static final int VERSION = 6;
+
+       private static final Map<Integer, Integer> 
META_INFO_SNAPSHOT_FORMAT_VERSION_MAPPER = new HashMap<>();
+       static {
 
 Review comment:
   Theoretically, no, but I think practice it would be best to keep track of 
this.
   It just happens to be that the versions match for this case. See for 
example, `OperatorBackendSerializationProxy` where the versions don't match.

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