Aias00 opened a new issue, #6703:
URL: https://github.com/apache/shenyu/issues/6703

   - severity: Medium
   - files: 
`shenyu-admin/src/main/java/org/apache/shenyu/admin/service/impl/UpstreamCheckService.java:177-187`
   - description: `close()` cancels `scheduledFuture` and shuts down 
`executor`, but never shuts down `invokeExecutor` (created at line 170). 
`invokeExecutor` is a `ScheduledThreadPoolExecutor` used for the actual 
health-check calls. On context close these threads keep running.
   - impact: Thread pool leak; background health checks continue against a 
closing admin context, producing noise/errors and delaying shutdown.
   - suggested_fix: In `close()`, also shut down `invokeExecutor` (with 
`Objects.nonNull` guard).
   - confidence: Medium
   - related_existing: none.
   
   ---
   _Identified during the 2026-08-02 deep re-scan; full list in 
[`docs/scan2-2026-08-02/06-medium-tiers.md`](docs/scan2-2026-08-02/06-medium-tiers.md)._


-- 
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]

Reply via email to