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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

            • Assignee:
              srichter Stefan Richter
              Reporter:
              srichter Stefan Richter

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment