Probe.sh does not display matches summary on termination.
---------------------------------------------------------
Key: JGRP-1188
URL:
https://jira.jboss.org/jira/browse/JGRP-1188
Project: JGroups
Issue Type: Bug
Affects Versions: 2.4.7
Reporter: Richard Achmatowicz
Assignee: Bela Ban
Priority: Minor
Fix For: 2.4.8
Matched statistics are not appearing at the end of the probe.sh output
- when probe.sh, with the -match option specified, terminates, I should only see responses
which contain the match string, and should see a summary line something like:
Total responses=1, 1 matches, 3 non-matches
This reflects how many responses were matched with the -match <match string>
parameter.
For example:
[rachmatowicz@vmg18 bin]$ ./probe.sh -match Tomcat-Cluster
-- send probe on /224.0.75.75:7500
#1 (262 bytes): 10.16.95.19:44066 (Tomcat-Cluster)
local_addr=10.16.95.19:44066
group_name=Tomcat-Cluster
version=2.4.7.GA, cvs="$Id: Version.java,v 1.42.2.14 2009/11/03 23:15:25 rachmatowicz
Exp $"
view: [10.16.95.19:44066|0] [10.16.95.19:44066]
group_addr=239.11.12.13:45577
Here, the responses were correctly matched, but no summary line is produded.
This summary line is not appearing, because a thread set up to close the multicast socket
after timeout seconds is causing the multicast socket to generate an exception and return,
before the control loop can be exited and the summary line printed. Moving the summary
line into the exception handling code fixes the problem.
--
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