[GLASSFISH-16108] validate-multicast tool can give duplicate results Created: 28/Feb/11  Updated: 14/Mar/12  Resolved: 29/Mar/11

Status: Resolved
Project: glassfish
Component/s: group_management_service
Affects Version/s: 3.1_b43
Fix Version/s: 3.1.1_b01, 4.0_b37

Type: Bug Priority: Minor
Reporter: Bobby Bissett Assignee: Bobby Bissett
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
depends on SHOAL-115 MultiCastReceiverThread is not cleari... Resolved
Tags: 3_1-next


When running the "asadmin validate-multicast" command, there can be duplicate entries shown so that a host shows up more than once. For instance:

Received data from myhost (loopback)
Received data from someotherhost
Received data from myhost

'myhost' appears twice, when it should only be there once. This is a minor issue, and is due to a bug in the gms code that does not clear out the data buffer between receive() calls on the socket. If you run the tool with the --verbose option, you can see the full messages that are being received that cause the duplicate entries.

What's important is that the host name shows up at all, not how many times it shows up. But this could cause confusion with users (it confused me).

Comment by Bobby Bissett [ 28/Feb/11 ]

Adding a dependency to the Shoal issue. Will fix in trunk there and integrate into GF with another Shoal promotion.

Comment by Bobby Bissett [ 03/Mar/11 ]

This is now fixed in the Shoal workspace and will be in the next Shoal integration into GlassFish.

Comment by Bobby Bissett [ 29/Mar/11 ]

Fixed in revision 45770.

Generated at Sun Dec 04 02:19:52 UTC 2016 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.