You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Stefan Richter (JIRA)" <ji...@apache.org> on 2018/11/09 11:54:00 UTC

[jira] [Created] (FLINK-10839) Fix implementation of PojoSerializer.duplicate() w.r.t. subclass serializer

Stefan Richter created FLINK-10839:
--------------------------------------

             Summary: Fix implementation of PojoSerializer.duplicate() w.r.t. subclass serializer
                 Key: FLINK-10839
                 URL: https://issues.apache.org/jira/browse/FLINK-10839
             Project: Flink
          Issue Type: Bug
          Components: Type Serialization System
            Reporter: Stefan Richter
            Assignee: Stefan Richter
             Fix For: 1.6.3, 1.7.0


The implementation of {{PojoSerializer.duplicate()}} currently ignores that subclassSerializerCache is a shared resource. We must always return a new instance of the serializer, even if all the nested field serializers are not stateful or else concurrency problems might occur if we have cached subclass serializers.



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