flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-6566) Narrow down interface for compatibility hook method in VersionedIOReadableWritable
Date Sat, 13 May 2017 09:05:05 GMT

    [ https://issues.apache.org/jira/browse/FLINK-6566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16009231#comment-16009231
] 

ASF GitHub Bot commented on FLINK-6566:
---------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/flink/pull/3883


> 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
>
> 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)

Mime
View raw message