[ 
https://issues.apache.org/jira/browse/FLINK-11755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chesnay Schepler updated FLINK-11755:
-------------------------------------
    Release Note: 
The {{ensureCompatibility}} method have been removed from {{TypeSerializer}}. 
All other related classes in the method signature, such as 
{{CompatibilityResult}}, have also been removed.
Please refer to the class-level Javadoc of {{TypeSerializer}} for instructions 
on how you should update your serializer implementations to adapt to the new 
serialization compatibility abstractions {{TypeSerializerSnapshot}} and 
{{TypeSerializerSchemaCompatibility}}.

  was:
The {{ensureCompatibility}} method have been removed from {{TypeSerializer}}. 
All other related classes in the method signature, such as 
{{CompatibilityResult}}, has also been removed.
Please refer to the class-level Javadoc of {{TypeSerializer}} for instructions 
on how you should update your serializer implementations to adapt to the new 
serialization compatibility abstractions {{TypeSerializerSnapshot}} and 
{{TypeSerializerSchemaCompatibility}}.


> Remove ensureCompatibility method from TypeSerializer abstraction
> -----------------------------------------------------------------
>
>                 Key: FLINK-11755
>                 URL: https://issues.apache.org/jira/browse/FLINK-11755
>             Project: Flink
>          Issue Type: Improvement
>          Components: API / Type Serialization System
>            Reporter: Tzu-Li (Gordon) Tai
>            Assignee: Tzu-Li (Gordon) Tai
>            Priority: Blocker
>             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