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-5442) Add test to fix ordinals of serialized enum StateDescriptor.Type
Date Wed, 11 Jan 2017 10:58:58 GMT

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

ASF GitHub Bot commented on FLINK-5442:

Github user StephanEwen commented on the issue:

    If it is in so shortly, lets make it clean and keep the new order...

> 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

View raw message