You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Arvid Heise (Jira)" <ji...@apache.org> on 2024/07/09 13:41:00 UTC

[jira] [Created] (FLINK-35796) Ensure that MailboxExecutor.submit is used correctly

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)