Arvid Heise created FLINK-35796:
-----------------------------------

             Summary: Ensure that MailboxExecutor.submit is used correctly
                 Key: FLINK-35796
                 URL: https://issues.apache.org/jira/browse/FLINK-35796
             Project: Flink
          Issue Type: Bug
          Components: Runtime / Task
    Affects Versions: 2.0.0
            Reporter: Arvid Heise
            Assignee: Arvid Heise


https://issues.apache.org/jira/browse/FLINK-34470 showed that 
MailboxExecutor.submit may result in unexpected exception handling: while 
{{execute}} will bubble up the exception in the task thread and result in some 
fault, {{submit}} can hide the exception because the API assumes that the 
returned {{Future}} is checked for it explicitly or implicitly.

We can solve the situation by improving the doc of MailboxExecutor and 
double-check the internal usages.



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

Reply via email to