Chesnay Schepler created FLINK-24888:
----------------------------------------
Summary: Run jobgraph deserialization in separate thread
Key: FLINK-24888
URL: https://issues.apache.org/jira/browse/FLINK-24888
Project: Flink
Issue Type: Improvement
Components: Runtime / REST
Reporter: Chesnay Schepler
Assignee: Chesnay Schepler
Fix For: 1.15.0
The JobSubmitHandler deserializers submitted job graphs. During the
deserialization pretty much anything can happen, including access to thread
locals and such.
Since the deserializing thread is long-lived it may thus keep a reference to
the user-code around for a long time.
We should guard against this by spawning a separate to deserialize the
jobgraph; this would prevent it since the thread can terminate after
serialization.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)