[ https://issues.apache.org/jira/browse/FLINK-37642?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17944930#comment-17944930 ]
Zakelly Lan commented on FLINK-37642: ------------------------------------- [~zhourenxiang] Not necessary. Since there is no fixed order of processing time and record processing, I'd keep them as same priority. > 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)