[jira] [Created] (FLINK-7752) RedirectHandler should execute on the IO thread

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

[jira] [Created] (FLINK-7752) RedirectHandler should execute on the IO thread

Shang Yuanchun (Jira)
Eron Wright  created FLINK-7752:
-----------------------------------

             Summary: RedirectHandler should execute on the IO thread
                 Key: FLINK-7752
                 URL: https://issues.apache.org/jira/browse/FLINK-7752
             Project: Flink
          Issue Type: Sub-task
            Reporter: Eron Wright
            Priority: Minor


The redirect handler executes much of its logic (including 'respondAsLeader') on an arbitrary thread, but it would be cleaner to execute on the I/O thread by using `channelHandlerContext.executor()`.   Note that Netty allows writes on any thread but reads on the I/O thread.  



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)