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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment