Infinispan предупреждает: «JGRP000012: отклоненное сообщение от другого кластера xsite (наш кластер является кластером)» - PullRequest
0 голосов
/ 01 марта 2019

Когда я настраиваю бесконечность с межсайтовым режимом, я получаю эту ошибку.

10: 19: 38,082 WARN [org.jgroups.protocols.TCP] (jgroups-4, cache-am-v2-0.node.rcdn-dev.coi) JGRP000012: отклоненное сообщение от другого кластера xsite2 (наш кластер - cluster2).Отправитель был нулевым: rcdn-dev (получил 3 идентичных сообщения от нулевого: rcdn-dev за последние 61063 мс)

«xsite2» используется для связи с другим сайтом.«Кластер2» используется для разных узлов в одном и том же сайте связи.Ниже приведены мои настройки 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>
...