[ 
https://issues.apache.org/jira/browse/FLINK-35412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17912425#comment-17912425
 ] 

Zakelly Lan commented on FLINK-35412:
-------------------------------------

We found this problematic by only leaving one mail in the mailbox, which may 
cause deadlock when `yield()`. So I propose to revert this optimization. Will 
add back when we are sure this is useful and performs well.

> Batch execution of async state request callback
> -----------------------------------------------
>
>                 Key: FLINK-35412
>                 URL: https://issues.apache.org/jira/browse/FLINK-35412
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Runtime / State Backends, Runtime / Task
>            Reporter: Zakelly Lan
>            Assignee: Zakelly Lan
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.0-preview
>
>
> There is one mail for each callback when async state result returns. One 
> possible optimization is to encapsulate multiple callbacks into one mail.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to