-
Notifications
You must be signed in to change notification settings - Fork 24.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.1] Better logging when EsThreadPoolExecutor throws unexpected exce…
…ptions (#85217) (#85377) * Better logging when EsThreadPoolExecutor throws unexpected exceptions (#85217) We recently had issues with EsThreadPoolExecutor throwing unexpected exceptions (in our case an AccessControlException) before the Runnable or AbstractRunnable has been submitted for execution. In the case of AbstractRunnable the task is not rejected and it caused some resources to leak. This commit catches unexpected exceptions thrown when calling the EsThreadPoolExecutor#execute() method with AbstractRunnable and logs a message. It also assert that this situation should never happen. * fix * fix Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
- Loading branch information
1 parent
97e6416
commit 95433cb
Showing
2 changed files
with
101 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters