flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephan Ewen (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (FLINK-5442) Add test to fix ordinals of serialized enum StateDescriptor.Type
Date Wed, 11 Jan 2017 20:26:17 GMT

     [ https://issues.apache.org/jira/browse/FLINK-5442?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Stephan Ewen resolved FLINK-5442.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 1.3.0
                   1.2.0

Fixed in
  - 1.2.0 via 758ea79a1cda1dec58d43266487ce663f7205f86
  - 1.3.0 via aa0ef2ac4b053c6bead7ec61a9f7965a907e2ade

> 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)

Mime
View raw message