TCPPING fails to discover initial members if port-range is greater than 8
-------------------------------------------------------------------------
Key: JGRP-1183
URL:
https://jira.jboss.org/jira/browse/JGRP-1183
Project: JGroups
Issue Type: Bug
Affects Versions: 2.8
Reporter: Karthik Abram
Assignee: Bela Ban
I also tested this with 2.10.0.ALPHA4
I have TCPPING configured this way:
<TCPPING timeout="3000"
initial_hosts="localhost[11000],localhost[12000]"
port_range="3"
num_initial_members="1"/>
I notice that if I start up a process on port 11000 and then a second process that binds
to 11001, if the port-range is set to 3 (it seems any port-range less than 8) the
processes successfully find each other. When I set the port-range to 9 or higher, I see
GET_MBRS_RSP responses from the processes with each other's information but nothing is
discovered. I suspect some issue with threading/race-condition. Here is the trace log for
TCPPING with port-range = 50:
2010-04-02 09:34:50,219 TRACE TCPPING - - received GET_MBRS_REQ from windowbox-64914,
sending response [PING: type=GET_MBRS_RSP, arg=own_addr=windowbox-64914, view
id=[windowbox-32305|0], is_server=true, is_coord=false, logical_name=windowbox-64914,
physical_addrs=0.0.0.0:11001]
2010-04-02 09:34:52,222 TRACE TCPPING - - received GET_MBRS_REQ from windowbox-64914,
sending response [PING: type=GET_MBRS_RSP, arg=own_addr=windowbox-32305, view
id=[windowbox-32305|0], is_server=true, is_coord=true, logical_name=windowbox-32305,
physical_addrs=0.0.0.0:11000]
2010-04-02 09:34:54,724 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:11010
2010-04-02 09:34:54,724 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:11011
2010-04-02 09:34:54,724 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:11008
2010-04-02 09:34:54,724 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:11009
2010-04-02 09:34:54,724 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:11006
2010-04-02 09:34:54,724 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:11007
2010-04-02 09:34:54,724 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:11004
2010-04-02 09:34:54,724 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:11005
2010-04-02 09:34:54,724 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:11002
2010-04-02 09:34:54,724 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:11003
2010-04-02 09:34:54,724 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:11000
2010-04-02 09:34:54,727 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:11001
2010-04-02 09:34:54,727 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:11027
2010-04-02 09:34:54,727 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:11026
2010-04-02 09:34:54,727 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:11025
2010-04-02 09:34:54,727 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:11024
2010-04-02 09:34:54,727 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:11023
2010-04-02 09:34:54,727 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:11022
2010-04-02 09:34:54,727 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:11021
2010-04-02 09:34:54,727 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:11020
2010-04-02 09:34:54,727 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:11019
2010-04-02 09:34:54,727 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:11018
2010-04-02 09:34:54,727 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:11017
2010-04-02 09:34:54,727 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:11016
2010-04-02 09:34:54,727 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:11015
2010-04-02 09:34:54,727 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:11014
2010-04-02 09:34:54,727 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:11013
2010-04-02 09:34:54,727 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:11012
2010-04-02 09:34:54,727 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:12043
2010-04-02 09:34:54,727 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:12042
2010-04-02 09:34:54,727 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:12041
2010-04-02 09:34:54,727 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:11048
2010-04-02 09:34:54,727 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:12040
2010-04-02 09:34:54,727 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:11049
2010-04-02 09:34:54,727 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:12039
2010-04-02 09:34:54,727 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:11046
2010-04-02 09:34:54,727 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:12038
2010-04-02 09:34:54,727 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:11047
2010-04-02 09:34:54,727 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:12037
2010-04-02 09:34:54,727 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:11044
2010-04-02 09:34:54,727 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:12036
2010-04-02 09:34:54,727 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:11045
2010-04-02 09:34:54,727 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:12049
2010-04-02 09:34:54,727 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:12048
2010-04-02 09:34:54,727 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:12047
2010-04-02 09:34:54,727 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:12046
2010-04-02 09:34:54,727 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:12045
2010-04-02 09:34:54,727 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:12044
2010-04-02 09:34:54,727 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:12026
2010-04-02 09:34:54,727 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:11035
2010-04-02 09:34:54,727 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:12027
2010-04-02 09:34:54,727 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:11034
2010-04-02 09:34:54,727 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:12024
2010-04-02 09:34:54,727 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:11033
2010-04-02 09:34:54,727 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:12025
2010-04-02 09:34:54,727 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:11032
2010-04-02 09:34:54,727 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:12022
2010-04-02 09:34:54,727 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:11031
2010-04-02 09:34:54,727 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:12023
2010-04-02 09:34:54,727 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:11030
2010-04-02 09:34:54,729 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:12020
2010-04-02 09:34:54,729 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:11029
2010-04-02 09:34:54,729 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:12021
2010-04-02 09:34:54,729 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:11028
2010-04-02 09:34:54,729 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:12034
2010-04-02 09:34:54,729 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:11043
2010-04-02 09:34:54,729 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:12035
2010-04-02 09:34:54,729 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:11042
2010-04-02 09:34:54,729 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:12032
2010-04-02 09:34:54,729 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:11041
2010-04-02 09:34:54,729 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:12033
2010-04-02 09:34:54,729 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:11040
2010-04-02 09:34:54,729 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:12030
2010-04-02 09:34:54,729 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:11039
2010-04-02 09:34:54,729 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:12031
2010-04-02 09:34:54,729 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:11038
2010-04-02 09:34:54,729 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:12028
2010-04-02 09:34:54,729 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:11037
2010-04-02 09:34:54,729 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:12029
2010-04-02 09:34:54,729 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:11036
2010-04-02 09:34:54,729 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:12009
2010-04-02 09:34:54,730 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:12008
2010-04-02 09:34:54,730 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:12011
2010-04-02 09:34:54,730 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:12010
2010-04-02 09:34:54,730 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:12005
2010-04-02 09:34:54,730 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:12004
2010-04-02 09:34:54,730 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:12007
2010-04-02 09:34:54,730 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:12006
2010-04-02 09:34:54,730 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:12017
2010-04-02 09:34:54,730 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:12016
2010-04-02 09:34:54,730 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:12019
2010-04-02 09:34:54,730 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:12018
2010-04-02 09:34:54,730 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:12013
2010-04-02 09:34:54,730 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:12012
2010-04-02 09:34:54,730 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:12015
2010-04-02 09:34:54,730 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:12014
2010-04-02 09:34:54,730 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:12000
2010-04-02 09:34:54,730 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:12001
2010-04-02 09:34:54,730 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:12002
2010-04-02 09:34:54,730 TRACE TCPPING - - [FIND_INITIAL_MBRS] sending PING request to
10.3.10.236:12003
2010-04-02 09:34:56,236 TRACE TCPPING - - discovery took 3003 ms: responses: 0 total (0
servers (0 coord), 0 clients)
2010-04-02 09:34:59,728 TRACE TCPPING - - received GET_MBRS_REQ from windowbox-32305,
sending response [PING: type=GET_MBRS_RSP, arg=own_addr=windowbox-32305, view
id=[windowbox-32305|0], is_server=true, is_coord=true, logical_name=windowbox-32305]
2010-04-02 09:34:59,728 TRACE TCPPING - - received GET_MBRS_RSP from windowbox-32305:
own_addr=windowbox-32305, view id=[windowbox-32305|0], is_server=true, is_coord=true,
logical_name=windowbox-32305
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira