[jira] [Created] (FLINK-21368) Consider removing RpcService#getExecutor

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-21368) Consider removing RpcService#getExecutor

Shang Yuanchun (Jira)
Chesnay Schepler created FLINK-21368:
----------------------------------------

             Summary: Consider removing RpcService#getExecutor
                 Key: FLINK-21368
                 URL: https://issues.apache.org/jira/browse/FLINK-21368
             Project: Flink
          Issue Type: Improvement
          Components: Runtime / Coordination
            Reporter: Chesnay Schepler
             Fix For: 1.13.0


{{RpcService#getExecutor}} exposes Akka's underlying dispatcher thread which introduces the risk of the thread being blocking by an IO operation of another component.

We should look into removing this method, and migrate existing usages to either a dedicated executor or explicitly passing the main thread executor if required.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)