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

When all servers in a raft cluster are offline, the client's watch requests will loop indefinitely. #6048

Closed
1 task
funky-eyes opened this issue Nov 17, 2023 · 0 comments · Fixed by #6049
Closed
1 task
Assignees
Labels
type: bug Category issues or prs related to bug.

Comments

@funky-eyes
Copy link
Contributor

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

Ⅰ. Issue Description

当server在raft模式下全部宕机时,客户端将会无限循环尝试watch,但是最终都失败,因为内层的dopost方式将io异常catch了,导致无法sleep 1s
When the servers are all down in draft mode, the client will try to watch in an infinite loop, but eventually fail because the inner dopost method catches the io exceptions, making it impossible to sleep for 1s.

Ⅱ. 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

Minimal yet complete reproducer code (or URL to code):

Ⅴ. Anything else we need to know?

Ⅵ. Environment:

  • JDK version(e.g. java -version):
  • Seata client/server version:
  • Database version:
  • OS(e.g. uname -a):
  • Others:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Category issues or prs related to bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant