-
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.
[7.17] Better logging when EsThreadPoolExecutor throws unexpected exc…
…eptions (#85217) (#85379) * 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
- Loading branch information
Showing
2 changed files
with
102 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