Skip to content

[FLINK-3450] Duplicate TypeSerializer in StateDescriptor.writeObject - #1686

Closed
aljoscha wants to merge 1 commit into
apache:masterfrom
aljoscha:state-descriptor-kryo-fix
Closed

[FLINK-3450] Duplicate TypeSerializer in StateDescriptor.writeObject#1686
aljoscha wants to merge 1 commit into
apache:masterfrom
aljoscha:state-descriptor-kryo-fix

Conversation

@aljoscha

Copy link
Copy Markdown
Contributor

The StateDescriptor can be serializer asynchronously in case of
asynchronous checkpoints. In that case two threads would try to
concurrently use the TypeSerializer: The normal state updating and the
checkpoint serialization. If the TypeSerializer is a KryoSerializer this
can lead to problems. Therefore the need to duplicate it before using in
"writeObject".

The StateDescriptor can be serializer asynchronously in case of
asynchronous checkpoints. In that case two threads would try to
concurrently use the TypeSerializer: The normal state updating and the
checkpoint serialization. If the TypeSerializer is a KryoSerializer this
can lead to problems. Therefore the need to duplicate it before using in
"writeObject".
@aljoscha aljoscha closed this Feb 22, 2016
@aljoscha
aljoscha deleted the state-descriptor-kryo-fix branch February 22, 2016 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants