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 the service.vgroupMapping is changed, the client will throw an exception #4470

Closed
pengten opened this issue Mar 15, 2022 · 0 comments · Fixed by #4471
Closed

When the service.vgroupMapping is changed, the client will throw an exception #4470

pengten opened this issue Mar 15, 2022 · 0 comments · Fixed by #4471

Comments

@pengten
Copy link
Contributor

pengten commented Mar 15, 2022

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

Ⅰ. Issue Description

当 service.vgroupMapping 指向的集群在运行中被更改,client 访问 TC 的请求会被分散到多个集群中(包括被替换的旧集群)

When the cluster pointed to by service.vgroupMapping is changed during operation, the client's request to access the TC will be distributed among multiple clusters (including the replaced old cluster)

Ⅱ. 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. 启动两个server
  2. 运行client,vgroupMapping指向server1,
  3. 运行中将vgroupMapping指向server2
  4. 会发现client的请求被平分到server1和server2中

Ⅴ. Anything else we need to know?

Ⅵ. Environment:

  • JDK version :
  • Seata version: develop
  • OS :
  • Others:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant