Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-10839

Fix implementation of PojoSerializer.duplicate() w.r.t. subclass serializer

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Activity

          People

            srichter Stefan Richter
            srichter Stefan Richter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: