dubbo icon indicating copy to clipboard operation
dubbo copied to clipboard

关于启动依赖检查的改进建议

Open hsrong opened this issue 6 years ago • 4 comments

希望能支持如下场景: A服务依赖于B服务

  1. 设置check=true
  2. A服务先启动,提示依赖异常,但A服务可正常启动(目前就是这样,已实现)
  3. A服务调用B服务,异常(目前就是这样,已实现)
  4. B服务启动完成
  5. A服务调用B服务,正常(未实现)

hsrong avatar Aug 26 '20 07:08 hsrong

那个版本?

yuxiao97 avatar Aug 26 '20 07:08 yuxiao97

2.7.8

hsrong avatar Aug 26 '20 15:08 hsrong

经过上述5步操作后,第5步操作总是异常,查看了一下源码: image invoker在init时被标记为destroy,故第5步的服务调用总是失败

hsrong avatar Aug 26 '20 15:08 hsrong

Try it with the latest version, if you still have problems, you can reopen the issue

CrazyHZM avatar Oct 23 '21 13:10 CrazyHZM