[jira] [Created] (FLINK-5442) Add test to fix ordinals of serialized enum StateDescriptor.Type

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-5442) Add test to fix ordinals of serialized enum StateDescriptor.Type

Shang Yuanchun (Jira)
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)