jerbo99 opened a new issue, #5501: URL: https://github.com/apache/shenyu/issues/5501
### Is there an existing issue for this? - [X] I have searched the existing issues ### Current Behavior When the Shenyu client service stopping, both the cleanup action and ShenyuClientShuttDownHook are executed simultaneously. During this period, a shenyu-bootstrap request comes over, causing the failure. ShenyuClientShutdownHook will delay other hooks based on the thread name, but when ShutdownHookManager adds ShenyuClientShutdownHook, the thread name is not specified, resulting in delays as well. ### Expected Behavior When a Shenyu client service is stopping, it will first execute a ShenyuClientShuttdownHook, lets the service to be go offline from the shenyu-bootstrap, and then other Hook will be executed to stop the service. ### Steps To Reproduce _No response_ ### Environment ```markdown ShenYu version(s):2.6 ``` ### Debug logs _No response_ ### Anything else? _No response_ -- 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]
