首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >对称循环配置

对称循环配置
EN

Stack Overflow用户
提问于 2018-10-07 11:48:35
回答 1查看 94关注 0票数 0

使用SymmtricDS 3.9:-

我有公司的数据库,与复制存储-1数据库双向。但是,按照日志配置,一次又一次地从corp循环到存储并存储到corp。以下是在公司日志中打印的信息:-

代码语言:javascript
复制
[corp-1] - ConfigurationChangedDataRouter - About to refresh the cache of nodes because new configuration came through the data router
[corp-1] - RouterService - Routed 5 data events in 49 ms
[corp-1] - PullUriHandler - 5 data and 3 batches sent during pull request from store:2:2
[corp-1] - DataLoaderService - 5 data and 3 batches loaded during push request from store:2:2.
[corp-1] - ConfigurationChangedDataRouter - About to refresh the cache of nodes because new configuration came through the data router
[corp-1] - RouterService - Routed 5 data events in 187 ms
[corp-1] - PullUriHandler - 5 data and 3 batches sent during pull request from store:2:2
[corp-1] - DataLoaderService - 3 data and 2 batches loaded during push request from store:2:2.
[corp-1] - ConfigurationChangedDataRouter - About to refresh the cache of nodes because new configuration came through the data router
[corp-1] - RouterService - Routed 3 data events in 94 ms
[corp-1] - PullUriHandler - 3 data and 2 batches sent during pull request from store:2:2
[corp-1] - DataLoaderService - 4 data and 3 batches loaded during push request from store:2:2.
[corp-1] - ConfigurationChangedDataRouter - About to refresh the cache of nodes because new configuration came through the data router
[corp-1] - RouterService - Routed 4 data events in 111 ms
[corp-1] - PullUriHandler - 4 data and 3 batches sent during pull request from store:2:2
[corp-1] - DataLoaderService - 4 data and 3 batches loaded during push request from store:2:2.
[corp-1] - ConfigurationChangedDataRouter - About to refresh the cache of nodes because new configuration came through the data router
[corp-1] - RouterService - Routed 4 data events in 94 ms
[corp-1] - PullUriHandler - 4 data and 3 batches sent during pull request from store:2:2
[corp-1] - DataLoaderService - 4 data and 3 batches loaded during push request from store:2:2.
[corp-1] - ConfigurationChangedDataRouter - About to refresh the cache of nodes because new configuration came through the data router
[corp-1] - RouterService - Routed 4 data events in 59 ms
[corp-1] - PullUriHandler - 4 data and 3 batches sent during pull request from store:2:2
[corp-1] - DataLoaderService - 4 data and 3 batches loaded during push request from store:2:2.

以下是在商店日志中打印的信息:-

代码语言:javascript
复制
[store-2] - PushService - Pushed data to node corp:1:1. 4 data and 3 batches were processed. (sym_node, sym_node_host, accounttypes)
[store-2] - PullService - Pull data received from corp:1:1 on queue default. 4 rows and 3 batches were processed. (sym_node, sym_node_host, accounttypes)
[store-2] - ConfigurationChangedDataRouter - About to refresh the cache of nodes because new configuration came through the data router
[store-2] - RouterService - Routed 8 data events in 63 ms
[store-2] - PushService - Push data sent to corp:1:1
[store-2] - PushService - Pushed data to node corp:1:1. 4 data and 3 batches were processed. (sym_node, sym_node_host, accounttypes)
[store-2] - PullService - Pull data received from corp:1:1 on queue default. 4 rows and 3 batches were processed. (sym_node, sym_node_host, accounttypes)
[store-2] - ConfigurationChangedDataRouter - About to refresh the cache of nodes because new configuration came through the data router
[store-2] - RouterService - Routed 8 data events in 115 ms
[store-2] - PushService - Push data sent to corp:1:1
[store-2] - PushService - Pushed data to node corp:1:1. 4 data and 3 batches were processed. (sym_node, sym_node_host, accounttypes)
[store-2] - PullService - Pull data received from corp:1:1 on queue default. 4 rows and 3 batches were processed. (sym_node, sym_node_host, accounttypes)
[store-2] - ConfigurationChangedDataRouter - About to refresh the cache of nodes because new configuration came through the data router
[store-2] - RouterService - Routed 8 data events in 120 ms
[store-2] - PushService - Push data sent to corp:1:1
[store-2] - PushService - Pushed data to node corp:1:1. 4 data and 3 batches were processed. (sym_node, sym_node_host, accounttypes)
[store-2] - PullService - Pull data received from corp:1:1 on queue default. 4 rows and 3 batches were processed. (sym_node, sym_node_host, accounttypes)
[store-2] - ConfigurationChangedDataRouter - About to refresh the cache of nodes because new configuration came through the data router
[store-2] - RouterService - Routed 8 data events in 122 ms
[store-2] - PushService - Push data sent to corp:1:1
[store-2] - PushService - Pushed data to node corp:1:1. 4 data and 3 batches were processed. (sym_node, sym_node_host, accounttypes)
[store-2] - PullService - Pull data received from corp:1:1 on queue default. 4 rows and 3 batches were processed. (sym_node, sym_node_host, accounttypes)
[store-2] - ConfigurationChangedDataRouter - About to refresh the cache of nodes because new configuration came through the data router
[store-2] - RouterService - Routed 8 data events in 64 ms
[store-2] - PushService - Push data sent to corp:1:1
[store-2] - PushService - Pushed data to node corp:1:1. 4 data and 3 batches were processed. (sym_node, sym_node_host, accounttypes)

即将刷新节点的缓存,因为新的配置通过数据路由器。

上面的打印一遍又一遍。我尝试删除数据库并重新配置它,但问题是相同的。

编辑

我在SymmtricDS 3.7中使用了相同的配置,它的工作效率很好,没有任何循环问题。

不确定是什么引起了3.7到3.9版本之间的问题。

EN

回答 1

Stack Overflow用户

发布于 2018-10-10 16:11:07

您能否尝试从商店的sym_node_identity中删除,看看它是否会请求配置并使您脱离循环。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/52688191

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档