You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Tzu-Li (Gordon) Tai (JIRA)" <ji...@apache.org> on 2019/06/02 05:44:00 UTC

[jira] [Commented] (FLINK-12688) Make serializer lazy initialization thread safe in StateDescriptor

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

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

Thanks for the fix [~carp84]!

Merged -
1.9.0: b48f17b6c10ec98dd759c737cb93f7baf97b0366
1.8.1: d10cb37640333c0ef726b165b21a567dba606313
1.7.3: d13c5836891d42bc690cfeba067ec03d4581bbce

> Make serializer lazy initialization thread safe in StateDescriptor
> ------------------------------------------------------------------
>
>                 Key: FLINK-12688
>                 URL: https://issues.apache.org/jira/browse/FLINK-12688
>             Project: Flink
>          Issue Type: Bug
>          Components: API / DataStream, API / Type Serialization System
>    Affects Versions: 1.6.4, 1.7.2, 1.8.0
>            Reporter: Yu Li
>            Assignee: Yu Li
>            Priority: Blocker
>              Labels: pull-request-available
>             Fix For: 1.7.3, 1.9.0, 1.8.1
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> As per [discussed|https://issues.apache.org/jira/browse/FLINK-11987?focusedCommentId=16832335&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16832335] in FLINK-11987, this JIRA aims at resolving the issue of {{StateDescriptor#initializeSerializerUnlessSet}} under race condition. More specified, we will assure no NPE thrown as well as the singleton of {{serializer}} when invoking {{initializeSerializerUnlessSet}} in parallel.



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