flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Richter (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-5442) Add test to fix ordinals of serialized enum StateDescriptor.Type
Date Wed, 11 Jan 2017 10:01:58 GMT
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)

Mime
View raw message