You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Stephan Ewen (JIRA)" <ji...@apache.org> on 2017/01/11 20:26:17 UTC
[jira] [Closed] (FLINK-5442) Add test to fix ordinals of serialized
enum StateDescriptor.Type
[ https://issues.apache.org/jira/browse/FLINK-5442?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stephan Ewen closed FLINK-5442.
-------------------------------
> Add test to fix ordinals of serialized enum StateDescriptor.Type
> ----------------------------------------------------------------
>
> Key: FLINK-5442
> URL: https://issues.apache.org/jira/browse/FLINK-5442
> Project: Flink
> Issue Type: Improvement
> Components: State Backends, Checkpointing
> Reporter: Stefan Richter
> Assignee: Stefan Richter
> Priority: Minor
> Fix For: 1.2.0, 1.3.0
>
>
> The order in which elements are contained in the enum {{StateDescriptor.Type}} is important because the ordinal is used for custom de/serialization. Changing this order would break the serialization format. We should add a test that enforces the current order.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)