[jboss-jira] [JBoss JIRA] (JGRP-2237) The single node in the cluster not become a coordinator after coordinator leave.

kfir avraham (JIRA) issues at jboss.org
Tue Nov 28 06:34:00 EST 2017


    [ https://issues.jboss.org/browse/JGRP-2237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13494596#comment-13494596 ] 

kfir avraham commented on JGRP-2237:
------------------------------------

*+Configuration:+*
<config xmlns="urn:org:jgroups"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="urn:org:jgroups http://www.jgroups.org/schema/jgroups-3.6.xsd">
   <TCP
        bind_addr="${jgroups.tcp.address: [node FQDN]}"
        bind_port="${jgroups.tcp.port:[node port]}"
        port_range="0"
        recv_buf_size="20m"
        send_buf_size="640k"
        max_bundle_size="31k"
        enable_diagnostics="false"

        thread_naming_pattern="pl"

        thread_pool.enabled="true"
        thread_pool.min_threads="2"
        thread_pool.max_threads="30"
        thread_pool.keep_alive_time="60000"

        />

	<!-- In the following, modify the initial_hosts attribute with hostnames & port (if default is modified) of master & standby servers -->

   <!-- Ergonomics, new in JGroups 2.11, are disabled by default in TCPPING until JGRP-1253 is resolved -->
   <TCPPING initial_hosts="[current node FQDN and port], [second node FQDN and port]"
            port_range="0"
            ergonomics="false"
        />

   <FD_SOCK/>
   <FD_ALL interval="3000" timeout="10000"/>
   <MERGE3 />
   <VERIFY_SUSPECT timeout="10000"/>

   <pbcast.NAKACK2 use_mcast_xmit="false"
                   xmit_interval="1000"
                   xmit_table_num_rows="100"
                   xmit_table_msgs_per_row="10000"
                   xmit_table_max_compaction_time="10000"/>

   <UNICAST3 xmit_interval="500"
             xmit_table_num_rows="20"
             xmit_table_msgs_per_row="10000"
             xmit_table_max_compaction_time="10000"
             conn_expiry_timeout="0"/>

   <pbcast.STABLE stability_delay="500" desired_avg_gossip="5000" max_bytes="1m"/>
   <pbcast.GMS print_local_addr="true"  print_physical_addrs="true" join_timeout="3000" view_bundling="true"/>
   <tom.TOA/> <!-- the TOA is only needed for total order transactions-->
   <MFC max_credits="2m" min_threshold="0.40"/>
   <FRAG2 frag_size="30k"/>
   <RSVP timeout="60000" resend_interval="500" ack_on_delivery="false" />
   <CENTRAL_LOCK/>
</config>


> The single node in the cluster not become a coordinator after coordinator leave.
> --------------------------------------------------------------------------------
>
>                 Key: JGRP-2237
>                 URL: https://issues.jboss.org/browse/JGRP-2237
>             Project: JGroups
>          Issue Type: Bug
>    Affects Versions: 4.0.2, 4.0.8
>            Reporter: kfir avraham
>            Assignee: Bela Ban
>            Priority: Minor
>
> I got cluster with 2 members, sometimes when the first node (coordinator) leave the cluster the second on is not become a coordinator.
> when the first one is rejoin, he could not determine coordinator and select new one from the nodes list.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list