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

Tzu-Li (Gordon) Tai commented on FLINK-11280:
---------------------------------------------

Fixed in master (for 1.8.0): 31685a36d1344e34c37b678c0335d560ccf6f4f4.

> RocksDBSerializedCompositeKeyBuilder's key serializer is not being 
> reconfigured properly
> ----------------------------------------------------------------------------------------
>
>                 Key: FLINK-11280
>                 URL: https://issues.apache.org/jira/browse/FLINK-11280
>             Project: Flink
>          Issue Type: Bug
>          Components: State Backends, Checkpointing
>            Reporter: Tzu-Li (Gordon) Tai
>            Assignee: Tzu-Li (Gordon) Tai
>            Priority: Critical
>              Labels: pull-request-available
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> This can be confirmed by failing tests:
> [https://travis-ci.org/apache/flink/jobs/476533588]
> The failing test is 
> {{StateBackendMigrationTestBase.testStateBackendRestoreSucceedsIfNewKeySerializerRequiresReconfiguration}},
>  which was a new test added in FLINK-11073.
> This test started to fail when the changes were rebased on top of FLINK-9702.
> The problem is that starting from FLINK-11073, all state serializers 
> (including key serializer) should be wrapped within / retrieved from a 
> {{StateSerializerProvider}}, which handles the logic of compatibility checks 
> of state serializers and reassigning serializer references to reconfigured 
> instances if required.
> The new {{RocksDBSerializedCompositeKeyBuilder}} introduced in FLINK-9702, 
> however, holds its own final reference directly to the key serializer, 
> instead of using a {{StateSerializerProvider}}.
> This change essentially makes the key serializer non-reconfigurable.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to