geekerzhou opened a new issue, #14022: URL: https://github.com/apache/dubbo/issues/14022
### Pre-check - [X] I am sure that all the content I provide is in English. ### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dubbo/issues?q=is%3Aissue) and found no similar feature requirement. ### Apache Dubbo Component Java SDK (apache/dubbo) ### Descriptions 2024-03-29 13:41:07.854 [DubboShutdownHook] INFO , o.a.dubbo.config.DubboShutdownHook - [DUBBO] Dubbo shutdown hooks execute now. Dubbo Application[1.1](https://github.com/apache/dubbo-website/issues/cbs), dubbo version: 3.2.9, current host: 10.10.1.33 2024-03-29 13:41:08.155 {"status":"UP","components":{"db":{"status":"UP","details":{"database":"PostgreSQL","validationQuery":"isValid()"}},"discoveryComposite":{"description":"Discovery Client not initialized","status":"UNKNOWN","components":{"discoveryClient":{"description":"Discovery Client not initialized","status":"UNKNOWN"}}},"diskSpace":{"status":"UP","details":{"total":250685575168,"free":15884992512,"threshold":10485760,"path":"","exists":true}},"dubbo":{"status":"UP","details":{"memory":{"source":"management.health.dubbo.status.defaults","status":{"level":"OK","message":"max:4096M,total:224M,used:188M,free:36M"}},"load":{"source":"management.health.dubbo.status.defaults","status":{"level":"OK","message":"load:2.67822265625,cpu:12"}},"registry":{"source":"management.health.dubbo.status.defaults","status":{"level":"OK","message":"10.0.2.251:8848(connected),10.0.2.251:8848(connected)"}},"spring":{"source":"management.health.dubbo.status.defaults","status":{"level":"OK","mes sage":""}},"server":{"source":"management.health.dubbo.status.defaults","status":{"level":"OK","message":"/10.10.1.33:20880(clients:0)"}}}},"nacosConfig":{"status":"UP"},"ping":{"status":"UP"},"redis":{"status":"UP","details":{"version":"6.0.9"}},"refreshScope":{"status":"UP"}}} 2024-03-29 13:41:12.098 {"status":"UP","components":{"db":{"status":"UP","details":{"database":"PostgreSQL","validationQuery":"isValid()"}},"discoveryComposite":{"description":"Discovery Client not initialized","status":"UNKNOWN","components":{"discoveryClient":{"description":"Discovery Client not initialized","status":"UNKNOWN"}}},"diskSpace":{"status":"UP","details":{"total":250685575168,"free":15878217728,"threshold":10485760,"path":"","exists":true}},"dubbo":{"status":"UNKNOWN","details":{"memory":{"source":"management.health.dubbo.status.defaults","status":{"level":"OK","message":"max:4096M,total:238M,used:155M,free:83M"}},"load":{"source":"management.health.dubbo.status.defaults","status":{"level":"OK","message":"load:2.67822265625,cpu:12"}},"registry":{"source":"management.health.dubbo.status.defaults","status":{"level":"OK","message":"10.0.2.251:8848(connected),10.0.2.251:8848(connected)"}},"spring":{"source":"management.health.dubbo.status.defaults","status":{"level":"OK" ,"message":""}},"server":{"source":"management.health.dubbo.status.defaults","status":{"level":"UNKNOWN"}}}},"nacosConfig":{"status":"UP"},"ping":{"status":"UP"},"redis":{"status":"UP","details":{"version":"6.0.9"}},"refreshScope":{"status":"UP"}}} Dubbo has been taken offline, but the actuator health check information still shows Dubbo status as UP. It takes about 5 seconds for the server check item to change to UNKNOWN, yet the overall healthcheck remains UP. Using Nginx to request /actuator/health for determining whether to take the upstream offline is not feasible anymore. Since Dubbo has been taken offline, if the requested HTTP interface involves Dubbo-related logic, it throws an exception. ### Related issues _No response_ ### Are you willing to submit a pull request to fix on your own? - [ ] Yes I am willing to submit a pull request on my own! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
