Tzu-Li (Gordon) Tai created FLINK-11755:
-------------------------------------------

             Summary: Remove ensureCompatibility method from TypeSerializer 
abstraction
                 Key: FLINK-11755
                 URL: https://issues.apache.org/jira/browse/FLINK-11755
             Project: Flink
          Issue Type: Improvement
          Components: Type Serialization System
            Reporter: Tzu-Li (Gordon) Tai
            Assignee: Tzu-Li (Gordon) Tai
             Fix For: 1.8.0


With {{TypeSerializer#canEqual}} removed in 1.8.0 and the interface already 
broken for backwards compatibility, it would make sense to also remove the 
{{ensureCompatibility}} method.

This method was already deprecated for a whole major version (since 1.7.0) 
already.

The effect of removing this method completely:
- All restored legacy {{TypeSerializerConfigSnapshot}}'s compatibility checks 
would not be able to go through {{ensureCompatibility}}. Instead, they must be 
redirected to new snapshot classes that implement {{TypeSerializerSnapshot}}.
- If the user already upgraded to the {{TypeSerializerSnapshot}} interface in 
1.7.x, then this wouldn't be a concern. This only affects users who are still 
on the {{TypeSerializerConfigSnapshot}} interface.



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

Reply via email to