Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/changelog/83645.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
pr: 83645
summary: Fix submit after shutdown in process worker service
area: Machine Learning
type: bug
issues:
- 83633
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ public synchronized void execute(Runnable command) {
EsRejectedExecutionException rejected = new EsRejectedExecutionException(processName + " worker service has shutdown", true);
if (command instanceof AbstractRunnable runnable) {
runnable.onRejection(rejected);
return;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤦 sneaky

} else {
throw rejected;
}
Expand Down