[
https://issues.apache.org/jira/browse/FLINK-37642?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yanfei Lei resolved FLINK-37642.
--------------------------------
Resolution: Resolved
Merged into master via f7b5d00c453d9774b37ca6c348505b10abfbc6ed
> 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)