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

Feat/sync support2.x mutiple thread sync #300

Conversation

chenhao26-nineteen
Copy link
Contributor

@chenhao26-nineteen chenhao26-nineteen commented Jul 26, 2022

1.实现多线程同步实例
2.添加Nacos中心集群同步逻辑
具体方案设计:
https://www.yuque.com/nacos/mydt7c/mo36ke#agmCz

测试场景说明(A集群同步到B集群)

  1. A集群宕机,B集群中的服务实例会被反注册,A集群再次启动后,B集群同步自动同实例成功,延时约3s 测试成功
  2. B集群宕机,此时A集群由于是源集群,无影响,B集群恢复正常后,数据同步正常,测试成功
  3. A集群修改权重,下线修改元数据等操作,B集群均和感知到并进行数据更新,测试成功
  4. B集群只会同步A集群的普通实例,不会同步“同步实例”,测试成功
  5. Nacos Sync服务宕机,B集群数据实例下线
  6. Nacos中心集群宕机,服务需要重新同步,目标集群正常同步实例

@paderlol paderlol closed this Jul 30, 2022
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 this pull request may close these issues.

None yet

2 participants