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

双向同步nacos实例时,当某个注册中心的所有实例下线后再启动,不能重新同步 #295

Closed
jefferson-chern opened this issue Jun 14, 2022 · 0 comments

Comments

@jefferson-chern
Copy link
Contributor

  1. 有两个nacos集群,分别用A和B表示;
  2. 使用同一个(或不同的)nacos-sync集群,同步AB中都有某个服务,比如服务名是test;
  3. 在sync控制台上创建一个 test的从A到B的同步任务,再创建一个test的从B到B的同步任务;
  4. 此时AB两个集群上test服务的实例数都是2,其中1个是本集群的,一个是由nacos-sync同步过来的;
  5. 停掉注册到A集群上的应用服务,此时A集群上test服务的实例是1,由nacos-sync同步的;B集群上也是1个实例,是本集群的;
  6. 再启动刚停掉的应用,此时A集群上test服务的实例数是2,1个是本集群的,一个是由nacos-sync同步过来的;但是B集群上一直只有一个实例,nacos-sync没有同步过来。
jefferson-chern added a commit to jefferson-chern/nacos-sync that referenced this issue Jun 14, 2022
jefferson-chern added a commit to jefferson-chern/nacos-sync that referenced this issue Jun 14, 2022
paderlol added a commit that referenced this issue Jun 14, 2022
…sync

[fix #295] 双向同步时,重启某个集群下所有实例,可以重新同步
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

No branches or pull requests

1 participant