[
https://issues.apache.org/jira/browse/FLINK-31995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated FLINK-31995:
-----------------------------------
Labels: pull-request-available (was: )
> DirectExecutorService doesn't follow the ExecutorService contract throwing a
> RejectedExecutionException in case it's already shut down
> --------------------------------------------------------------------------------------------------------------------------------------
>
> Key: FLINK-31995
> URL: https://issues.apache.org/jira/browse/FLINK-31995
> Project: Flink
> Issue Type: Bug
> Components: Runtime / Coordination
> Affects Versions: 1.17.0, 1.16.1, 1.18.0
> Reporter: Matthias Pohl
> Priority: Major
> Labels: pull-request-available
>
> We experienced an issue where we tested behavior using the
> {{DirectExecutorService}} with the {{ExecutorService}} being shutdown
> already. The tests succeeded. The production code failed, though, because we
> used a singleThreadExecutor for which the task execution failed after the
> executor was stopped. We should add this behavior to the
> {{DirectExecutorService}} as well to make the unit tests be closer to the
> production code.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)