Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support active check of service availability at client startup #5484

Closed
1 task
funky-eyes opened this issue Mar 31, 2023 · 2 comments · Fixed by #6004
Closed
1 task

support active check of service availability at client startup #5484

funky-eyes opened this issue Mar 31, 2023 · 2 comments · Fixed by #6004
Labels
good first issue Good for newcomers task: help-wanted Extra attention is needed

Comments

@funky-eyes
Copy link
Contributor

  • I have searched the issues of this repository and believe that this is not a duplicate.

Ⅰ. Issue Description

类似dubbo的服务检查,如果没有发现该服务,或者无法与该服务的provider建立连接,将抛出异常阻止应用启动
<dubbo:reference interface="x.x.x.xxxx" check="true" />

image
现在一启动连不上server,也只是打个error日志,无法中断一样启动,特别是rm的连接是异步10s后建立,如果在生产可能会由于配置等问题,造成故障

Ⅱ. Describe what happened

If there is an exception, please attach the exception trace:

Just paste your stack trace here!

Ⅲ. Describe what you expected to happen

Ⅳ. How to reproduce it (as minimally and precisely as possible)

  1. xxx
  2. xxx
  3. xxx

Ⅴ. Anything else we need to know?

Ⅵ. Environment:

  • JDK version :
  • Seata version:
  • OS :
  • Others:
@funky-eyes funky-eyes added task: help-wanted Extra attention is needed good first issue Good for newcomers labels Mar 31, 2023
@sun1341283
Copy link

assign to me plz.
需要做成可配置的还是直接报错

@funky-eyes
Copy link
Contributor Author

assign to me plz. 需要做成可配置的还是直接报错

应该是做成一个配置项,如果未true就检查,false就不检查,true的话检查出问题要直接抛异常

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers task: help-wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants