sql-wj opened a new pull request, #18701: URL: https://github.com/apache/dolphinscheduler/pull/18701
Purpose Fix the DinkyTask bug where `Thread.currentThread().interrupt()` inside `catch (Exception)` kills the worker thread, permanently leaking worker slots and eventually exhausting the whole 100-slot pool (`All ExclusiveThreadTaskExecutorWorker are busy`). ## Brief change log - `DinkyTask.java`: remove `Thread.currentThread().interrupt();` in `submitApplicationV0()` and `submitApplicationV1()`. ## Verify this pull request - [ ] `mvn -pl dolphinscheduler-task-plugin/dolphinscheduler-task-dinky -am test` passes. - [ ] After a Dinky submit failure, `Thread.currentThread().isInterrupted()` is `false`. - [ ] Worker log no longer shows `TaskExecutorWorker(id=X) is interrupted`. ## Does this pull request potentially affect one of the following parts - [x] Dinky task plugin only. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
