我在不同的服务器上有三个节点。它工作正常,但有时在节点重启时它会陷入这样的无限循环:
INFO 03-04 19:51:32,851 (LoggerInstance.java:log:185) -/10.0.0.107:61000 [dev] ======= -1: CONCURRENT_MAP_PUT ========
thisAddress= Address[10.0.0.107:61000], target= Address[10.0.0.9:61000]
targetMember= null, targetConn=Connection [/10.0.0.9:39345 -> Address[10.0.0.9:61000]] live=true, client=false, type=MEMBER, targetBlock=Block [129] owner=Address[10.0.0.9:61000] migrationAddress=null
ProxyKey {name='t:campaignsClicks', key=null} Re-doing [20] times! c:__hz_Proxies : null
INFO 03-04 19:51:37,862 (LoggerInstance.java:log:185) -/10.0.0.107:61000 [dev] ======= -1: CONCURRENT_MAP_PUT ========
thisAddress= Address[10.0.0.107:61000], target= Address[10.0.0.9:61000]
targetMember= null, targetConn=Connection [/10.0.0.9:39345 -> Address[10.0.0.9:61000]] live=true, client=false, type=MEMBER, targetBlock=Block [129] owner=Address[10.0.0.9:61000] migrationAddress=null
ProxyKey {name='t:campaignsClicks', key=null} Re-doing [30] times! c:__hz_Proxies : null
INFO 03-04 19:51:42,870 (LoggerInstance.java:log:185) -/10.0.0.107:61000 [dev] ======= -1: CONCURRENT_MAP_PUT ========
thisAddress= Address[10.0.0.107:61000], target= Address[10.0.0.9:61000]
targetMember= null, targetConn=Connection [/10.0.0.9:39345 -> Address[10.0.0.9:61000]] live=true, client=false, type=MEMBER, targetBlock=Block [129] owner=Address[10.0.0.9:61000] migrationAddress=null
... and so on infinetely
重新启动没有帮助。仅在 hazelcast.xml 中禁用网络并重新启动所有三个节点。有人知道出了什么问题吗?
配置文件:
<hazelcast>
<network>
<port auto-increment="true">60000</port>
<join>
<tcp-ip enabled="true">
<interface>10.0.0.107</interface>
<hostname>10.0.0.3</hostname>
<hostname>10.0.0.9</hostname>
</tcp-ip>
</join>
</network>
</hazelcast>