[ https://issues.apache.org/jira/browse/FLINK-37642?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17945262#comment-17945262 ]
Zakelly Lan commented on FLINK-37642: ------------------------------------- [~zhourenxiang] Well, it's no big deal for timers to be triggered before any callbacks. But this might be a nice improvement for yielding, with a sacrifice of delayed timer triggering. > Use the mailboxExecutor for operator in Async state processing > -------------------------------------------------------------- > > Key: FLINK-37642 > URL: https://issues.apache.org/jira/browse/FLINK-37642 > Project: Flink > Issue Type: Improvement > Components: Runtime / Async State Processing > Affects Versions: 2.0.0 > Reporter: Zakelly Lan > Assignee: Yanfei Lei > Priority: Major > Labels: pull-request-available > Fix For: 2.1.0 > > > Currently, the operators of async state processing use the main mailbox > executor for callback execution, which has low priority. It's better to use > the one for `YieldingOperator`, as: > {code:java} > MailboxExecutor mailboxExecutor = > containingTask > .getMailboxExecutorFactory() > .createExecutor(configuration.getChainIndex()); > {code} > It has higher priority, which could help us do efficient `yield()`. -- This message was sent by Atlassian Jira (v8.20.10#820010)