-
Notifications
You must be signed in to change notification settings - Fork 145
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
IP填错后,删除集群,重新创建正确IP集群配置,同步依然是原来的IP,暂停同步再开启同步,同步还依然是原来的IP #372
Comments
请问你是怎么改的目标集群?Sync是没有开放任务修改和目标集群修改的操作的 |
应该是删除了之前的集群配置,重新创建了一个新的集群配置,变更的地方只有连接串 |
因为现在任务启动之后会把Client缓存起来,因此变更连接串也不会更新当前任务关联的集群信息 |
那我已经在集群删除的时候增加了限制,必须先删除依赖的同步任务 |
@paderlol 是这么操作的 |
先删除同步任务,再删除集群信息;重新添加也不行。感觉数据没删干净 |
根因是AbstractServerHolderImpl#serviceMap只有computeIfAbsent(也就是add),而没有在停止同步任务时对需要删除的数据进行删除 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
源 集 群: 192.168.0.1:8848
目标集群:192.168.0.2:8848
建议,修改集群配置信息后,自动更新缓存
The text was updated successfully, but these errors were encountered: