smallnest / rpcx

Best microservices framework in Go, like alibaba Dubbo, but with more features, Scale easily. Try it. Test it. If you feel it's better, use it! 𝐉𝐚𝐯𝐚有𝐝𝐮𝐛𝐛𝐨, 𝐆𝐨𝐥𝐚𝐧𝐠有𝐫𝐩𝐜𝐱! build for cloud!
https://rpcx.io
Other
8.08k stars 1.16k forks source link

服务节点下线,注册中心未剔除,导致大量客户端超时 #784

Closed szlmbella closed 1 year ago

szlmbella commented 1 year ago
smallnest commented 1 year ago

我部署一套环境测试下,在超过两倍的超时间后还没有反注册?

我更新了一下rpcx,让它正常退出的时候自动反注册,你也可以调用UnregisterAll()保证退出的时候反注册

szlmbella commented 1 year ago

设置了 200 ms 的超时时间,正常请求是生效的,上面这种情况有很多超过 1 s 的请求。

我更新下 rpcx,感谢大佬!