You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Till Rohrmann (JIRA)" <ji...@apache.org> on 2017/10/04 15:54:00 UTC

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

     [ https://issues.apache.org/jira/browse/FLINK-7752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Till Rohrmann resolved FLINK-7752.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 1.4.0

Fixed via 818cccd3d447ccc4235840fd8bd9a35486ed4f49

> 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
>          Components: Cluster Management, Mesos
>            Reporter: Eron Wright 
>            Assignee: Eron Wright 
>            Priority: Minor
>             Fix For: 1.4.0
>
>
> 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)