Yu Li created FLINK-12688: ----------------------------- Summary: Make serializer lazy initialization thread safe in StateDescriptor Key: FLINK-12688 URL: https://issues.apache.org/jira/browse/FLINK-12688 Project: Flink Issue Type: Improvement Components: API / DataStream, API / Type Serialization System Affects Versions: 1.8.0, 1.7.2, 1.6.4 Reporter: Yu Li Assignee: Yu Li Fix For: 1.9.0, 1.8.1
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)