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-6948) EnumValueSerializer cannot handle removed enum values
Date Tue, 20 Jun 2017 12:40:00 GMT

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

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

Github user asfgit closed the pull request at:

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


> EnumValueSerializer cannot handle removed enum values
> -----------------------------------------------------
>
>                 Key: FLINK-6948
>                 URL: https://issues.apache.org/jira/browse/FLINK-6948
>             Project: Flink
>          Issue Type: Bug
>          Components: Type Serialization System
>    Affects Versions: 1.3.1, 1.4.0
>            Reporter: Till Rohrmann
>            Assignee: Till Rohrmann
>            Priority: Critical
>
> The {{EnumValueSerializer}} cannot handle removed enum values or enum values whose ordinal
value have been changed. We should try to detect these cases and require migration. The problem
is that we take the values of the new enum and iterate over them without checking that all
old enum values contained in the config snapshot are actually contained.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message