[jira] [Created] (FLINK-3267) Disable reference tracking in Kryo fallback serializer

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-3267) Disable reference tracking in Kryo fallback serializer

Shang Yuanchun (Jira)
Stephan Ewen created FLINK-3267:
-----------------------------------

             Summary: Disable reference tracking in Kryo fallback serializer
                 Key: FLINK-3267
                 URL: https://issues.apache.org/jira/browse/FLINK-3267
             Project: Flink
          Issue Type: Bug
          Components: Local Runtime
    Affects Versions: 0.10.1
            Reporter: Stephan Ewen
            Assignee: Stephan Ewen
             Fix For: 1.0.0


Kryo runs extra logic to track and resolve repeated references to the same object (similar as JavaSerialization)

We should disable reference tracking
  - reference tracking is costly
  - it is virtually always unnecessary in the datatypes used in Flink
  - most importantly, it is inconsistent with Flink's own serialization (which does not do reference tracking)
  - It may have problems if elements are read in a different order than they are written.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)