[ 
https://issues.apache.org/jira/browse/FLINK-5979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15926606#comment-15926606
 ] 

ASF GitHub Bot commented on FLINK-5979:
---------------------------------------

Github user aljoscha commented on a diff in the pull request:

    https://github.com/apache/flink/pull/3483#discussion_r106133243
  
    --- Diff: 
flink-runtime/src/main/java/org/apache/flink/runtime/state/heap/AbstractHeapMergingState.java
 ---
    @@ -47,77 +44,62 @@
        /**
         * Creates a new key/value state for the given hash map of key/value 
pairs.
         *
    -    * @param backend The state backend backing that created this state.
         * @param stateDesc The state identifier for the state. This contains 
name
         *                           and can create a default state value.
         * @param stateTable The state tab;e to use in this kev/value state. 
May contain initial state.
         */
        protected AbstractHeapMergingState(
    -                   KeyedStateBackend<K> backend,
                        SD stateDesc,
                        StateTable<K, N, SV> stateTable,
                        TypeSerializer<K> keySerializer,
                        TypeSerializer<N> namespaceSerializer) {
     
    -           super(backend, stateDesc, stateTable, keySerializer, 
namespaceSerializer);
    +           super(stateDesc, stateTable, keySerializer, 
namespaceSerializer);
    +           this.mergeTransformation = new MergeTransformation();
        }
     
    +   private final MergeTransformation mergeTransformation;
    --- End diff --
    
    Curious placement of field. 😉 


> Backwards compatibility for HeapKeyedStateBackend serialization format (1.2 
> -> 1.3)
> -----------------------------------------------------------------------------------
>
>                 Key: FLINK-5979
>                 URL: https://issues.apache.org/jira/browse/FLINK-5979
>             Project: Flink
>          Issue Type: New Feature
>          Components: State Backends, Checkpointing
>    Affects Versions: 1.3.0
>            Reporter: Stefan Richter
>            Assignee: Stefan Richter
>             Fix For: 1.3.0
>
>
> Changes in {{HeapKeyedStateBackend}} for Flink 1.3 have triggered a change of 
> the serialization format. This issue tracks the backwards compatibility story 
> between the format in 1.2 and 1.3.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to