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

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

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

    https://github.com/apache/flink/pull/5691#discussion_r174380197
  
    --- Diff: 
flink-runtime/src/main/java/org/apache/flink/runtime/state/internal/InternalMapState.java
 ---
    @@ -20,13 +20,16 @@
     
     import org.apache.flink.api.common.state.MapState;
     
    +import java.util.Map;
    +
     /**
      * The peer to the {@link MapState} in the internal state type hierarchy.
      *
      * <p>See {@link InternalKvState} for a description of the internal state 
hierarchy.
      *
    - * @param <N> The type of the namespace
    - * @param <UK> Type of the values folded into the state
    - * @param <UV> Type of the value in the state
    + * @param <K>      The type of key the state is associated to
    + * @param <N>      The type of the namespace
    + * @param <UK>     Type of the values folded into the state
    --- End diff --
    
    the description seems like a copy&paste from `FoldingState`


> Concurrent serialization without duplicating serializers in state server.
> -------------------------------------------------------------------------
>
>                 Key: FLINK-8802
>                 URL: https://issues.apache.org/jira/browse/FLINK-8802
>             Project: Flink
>          Issue Type: Bug
>          Components: Queryable State
>    Affects Versions: 1.5.0
>            Reporter: Kostas Kloudas
>            Assignee: Kostas Kloudas
>            Priority: Blocker
>             Fix For: 1.5.0
>
>
> The `getSerializedValue()` may be called by multiple threads but serializers 
> are not duplicated, which may lead to exceptions thrown when a serializer is 
> stateful.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to