You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Tzu-Li (Gordon) Tai (JIRA)" <ji...@apache.org> on 2017/05/13 09:11:04 UTC
[jira] [Resolved] (FLINK-6566) Narrow down interface for
compatibility hook method in VersionedIOReadableWritable
[ https://issues.apache.org/jira/browse/FLINK-6566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tzu-Li (Gordon) Tai resolved FLINK-6566.
----------------------------------------
Resolution: Fixed
Assignee: Tzu-Li (Gordon) Tai
Fix Version/s: 1.4.0
1.3.0
Fixed for master via 347100de7527dc4ba3664b8e8306a081834f84a4.
Fixed for 1.3 via 1ac5f8421cb289c5e52172f1ecc854e1c9252b23.
> Narrow down interface for compatibility hook method in VersionedIOReadableWritable
> ----------------------------------------------------------------------------------
>
> Key: FLINK-6566
> URL: https://issues.apache.org/jira/browse/FLINK-6566
> Project: Flink
> Issue Type: Improvement
> Components: Core, Type Serialization System
> Affects Versions: 1.3.0
> Reporter: Tzu-Li (Gordon) Tai
> Assignee: Tzu-Li (Gordon) Tai
> Fix For: 1.3.0, 1.4.0
>
>
> The {{VersionedIOReadableWritable}} provides a {{isCompatibleVersion}} method that allows users to override to resolve older versions.
> This method allows too much space for the user to mess up the implementation, and is much more relevant now because we have an user-facing class {{TypeSerializerConfigSnapshot}} which extends {{VersionedIOReadableWritable}}.
> Instead of a {{isCompatibleVersion}} method, it should only expose a narrower {{int[] getCompatibleVersions}} that the internal version check uses.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)