quxianer commented on issue #12055: URL: https://github.com/apache/dubbo/issues/12055#issuecomment-2866369399
> > > consumer 对外提供服务的话 > > > > > > 这个已经是 provider 了,所以是需要按 provider 的视角去看的 > > > 总不能因为自己要实现平滑升级,就需要外部客户端必须要做重试机制。 > > > > > > 如果全链路都是 dubbo 的话,可以通过 dubbo 提前下线,等待一段时间后在关闭,这个是不需要考虑自己是服务端还是客户端的 > > 使用 3.2.0 测试,可以正常关闭同时作为 consumer 和 provider 的组件了,以上情况,无论是在关闭 provider、consumer、middle 的时候都可以正常返回数据了。 > > 测试 3.1.9 也是不行的,不知道 3.2.0 是否对这一块做了优化 我没有理解到提前下线这个意思,我现在用3.2.15,也会碰到类似的情况,即前端http请求进来,要去调用其他服务的rpc接口,这个时候下线服务,会报错提示ServiceDiscoveryRegistryDirectory already destroyed,我也加了重试,但这不是我想要的... -- 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]
