You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Stefan Richter (JIRA)" <ji...@apache.org> on 2017/01/11 10:01:58 UTC
[jira] [Created] (FLINK-5442) Add test to fix ordinals of
serialized enum StateDescriptor.Type
Stefan Richter created FLINK-5442:
-------------------------------------
Summary: 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
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)