Infinispan警告:“ JGRP000012:来自不同群集xsite(我们的群集是群集)的已丢弃消息”

时间:2019-03-01 10:26:32

标签: infinispan infinispan-9 infinispan-8

当我使用跨站点模式设置infinispan时,会出现此错误。

  

10:19:38,082警告[org.jgroups.protocols.TCP]   (jgroups-4,cache-am-v2-0.node.rcdn-dev.coi)JGRP000012:已丢弃   来自不同群集xsite2的消息(我们的群集是cluster2)。   发件人为null:rcdn-dev(收到3条相同的消息   null:过去61063毫秒内的rcdn-dev)

“ xsite2”用于不同的站点通信。 “ cluster2”用于同一站点通信中的不同节点。 以下是我的Jgroup配置和套接字绑定配置:

<subsystem xmlns="urn:infinispan:server:jgroups:9.3">
        <channels default="cluster2">
            <channel name="cluster2"/>
            <channel name="xsite2" stack="tcp2"/>
        </channels>
        <stacks default="${jboss.default.jgroups.stack:kubernetes2}">
            <stack name="tcp2">
                <transport type="TCP" socket-binding="jgroups-tcp">
                    <property name="external_addr">${jgroups.tcp.external_addr:}</property>
                </transport>
                <protocol type="TCPPING">
                    <property name="initial_hosts">${jgroups.tcpping.initial_hosts:}</property>
                    <property name="ergonomics">false</property>
                </protocol>
                <protocol type="MERGE3">
                    <property name="min_interval">10000</property>
                    <property name="max_interval">30000</property>
                </protocol>
                <protocol type="FD_SOCK" socket-binding="jgroups-tcp-fd"/>
                <protocol type="FD_ALL">
                    <property name="timeout">60000</property>
                    <property name="interval">15000</property>
                    <property name="timeout_check_interval">5000</property>
                </protocol>
                <protocol type="VERIFY_SUSPECT">
                    <property name="timeout">5000</property>
                </protocol>
                <protocol type="SYM_ENCRYPT">
                    <property name="keystore_type">pkcs12</property>
                    <property name="sym_algorithm">AES</property>
                    <property name="keystore_name">${env.ISPNKEYSTORE_REPLICATION}</property>
                    <property name="store_password">${env.KEYSTORE_PASSWORD}</property>
                    <property name="alias">replication</property>
                </protocol>
                <protocol type="pbcast.NAKACK2">
                    <property name="use_mcast_xmit">false</property>
                    <property name="xmit_interval">100</property>
                    <property name="xmit_table_num_rows">50</property>
                    <property name="xmit_table_msgs_per_row">1024</property>
                    <property name="xmit_table_max_compaction_time">30000</property>
                    <property name="resend_last_seqno">true</property>
                </protocol>
                <protocol type="UNICAST3">
                    <property name="xmit_interval">100</property>
                    <property name="xmit_table_num_rows">50</property>
                    <property name="xmit_table_msgs_per_row">1024</property>
                    <property name="xmit_table_max_compaction_time">30000</property>
                    <property name="conn_expiry_timeout">0</property>
                </protocol>
                <protocol type="pbcast.STABLE">
                    <property name="stability_delay">500</property>
                    <property name="desired_avg_gossip">5000</property>
                    <property name="max_bytes">1M</property>
                </protocol>
                <protocol type="pbcast.GMS">
                    <property name="print_local_addr">true</property>
                    <property name="join_timeout">${jgroups.join_timeout:5000}</property>
                </protocol>
                <protocol type="MFC">
                    <property name="max_credits">2m</property>
                    <property name="min_threshold">0.40</property>
                </protocol>
                <protocol type="FRAG3"/>
                <protocol type="RSVP"/>
            </stack>
            <stack name="kubernetes2">
                <transport type="TCP" socket-binding="jgroups-tcp">
                    <property name="logical_addr_cache_expiration">360000</property>
                </transport>
                <protocol type="kubernetes.KUBE_PING"/>
                <protocol type="MERGE3">
                    <property name="min_interval">10000</property>
                    <property name="max_interval">30000</property>
                </protocol>
                <protocol type="FD_SOCK" socket-binding="jgroups-tcp-fd"/>
                <protocol type="FD_ALL">
                    <property name="timeout">60000</property>
                    <property name="interval">15000</property>
                    <property name="timeout_check_interval">5000</property>
                </protocol>
                <protocol type="VERIFY_SUSPECT">
                    <property name="timeout">5000</property>
                </protocol>
                <protocol type="SYM_ENCRYPT">
                    <property name="keystore_type">pkcs12</property>
                    <property name="sym_algorithm">AES</property>
                    <property name="keystore_name">${env.ISPNKEYSTORE_REPLICATION}</property>
                    <property name="store_password">${env.KEYSTORE_PASSWORD}</property>
                    <property name="alias">replication</property>
                </protocol>
                <protocol type="pbcast.NAKACK2">
                    <property name="use_mcast_xmit">false</property>
                    <property name="xmit_interval">100</property>
                    <property name="xmit_table_num_rows">50</property>
                    <property name="xmit_table_msgs_per_row">1024</property>
                    <property name="xmit_table_max_compaction_time">30000</property>
                    <property name="resend_last_seqno">true</property>
                </protocol>
                <protocol type="UNICAST3">
                    <property name="xmit_interval">100</property>
                    <property name="xmit_table_num_rows">50</property>
                    <property name="xmit_table_msgs_per_row">1024</property>
                    <property name="xmit_table_max_compaction_time">30000</property>
                    <property name="conn_expiry_timeout">0</property>
                </protocol>
                <protocol type="pbcast.STABLE">
                    <property name="stability_delay">500</property>
                    <property name="desired_avg_gossip">5000</property>
                    <property name="max_bytes">1M</property>
                </protocol>
                <protocol type="pbcast.GMS">
                    <property name="print_local_addr">true</property>
                    <property name="join_timeout">${jgroups.join_timeout:5000}</property>
                </protocol>
                <protocol type="MFC">
                    <property name="max_credits">2m</property>
                    <property name="min_threshold">0.40</property>
                </protocol>
                <protocol type="FRAG3"/>
                <relay site="${env.LOCAL_SITE}">
                    <property name="relay_multicasts">false</property>
                    <property name="max_site_masters">3</property>
                </relay>
            </stack>
        </stacks>
    </subsystem>

<socket-binding-group name="standard-sockets" default-interface="public" port-offset="${jboss.socket.binding.port-offset:0}">
    <socket-binding name="management-http" interface="management" port="${jboss.management.http.port:9990}"/>
    <socket-binding name="management-https" interface="management" port="${jboss.management.https.port:9993}"/>
    <socket-binding name="hotrod" port="11222"/>
    <socket-binding name="hotrod-internal" port="11223"/>
    <socket-binding name="hotrod-multi-tenancy" port="11224"/>
    <socket-binding name="jgroups-mping" port="0" multicast-address="${jboss.default.multicast.address:234.99.54.14}" multicast-port="45700"/>
    <socket-binding name="jgroups-tcp" port="7660"/>
    <socket-binding name="jgroups-tcp-fd" port="57660"/>
    <socket-binding name="jgroups-udp" port="55200" multicast-address="${jboss.default.multicast.address:234.99.54.14}" multicast-port="45688"/>
    <socket-binding name="jgroups-udp-fd" port="54200"/>
    <socket-binding name="memcached" port="11211"/>
    <socket-binding name="rest" port="8080"/>57
    <socket-binding name="rest-multi-tenancy" port="8081"/>
    <socket-binding name="rest-ssl" port="8443"/>
    <socket-binding name="txn-recovery-environment" port="4712"/>
    <socket-binding name="txn-status-manager" port="4713"/>
    <socket-binding name="websocket" port="8181"/>
    <outbound-socket-binding name="remote-store-hotrod-server">
        <remote-destination host="remote-host" port="11222"/>
    </outbound-socket-binding>
    <outbound-socket-binding name="remote-store-rest-server">
        <remote-destination host="remote-host" port="8080"/>
    </outbound-socket-binding>
</socket-binding-group>

0 个答案:

没有答案