[jboss-jira] [JBoss JIRA] (JGRP-1431) GossipRouter drops members from the routing table
Bela Ban (JIRA)
jira-events at lists.jboss.org
Wed Feb 29 05:40:36 EST 2012
[ https://issues.jboss.org/browse/JGRP-1431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bela Ban updated JGRP-1431:
---------------------------
Fix Version/s: 3.1
> GossipRouter drops members from the routing table
> --------------------------------------------------
>
> Key: JGRP-1431
> URL: https://issues.jboss.org/browse/JGRP-1431
> Project: JGroups
> Issue Type: Bug
> Affects Versions: 3.1
> Reporter: Guy Golan
> Assignee: Bela Ban
> Fix For: 3.1
>
>
> I have looked at GossipRouter.java and it seems like it has a bug that sometimes drops new members from the routing table.
> The problem is caused by the methods: "removeEntry" and "handleConnect".
> Specifically, the method "removeEntry" contains the following code fragment:
> if(map.isEmpty()) {
> routingTable.remove(group);
> So, if "removeEntry" is executed and a concurrent "handleConnect" adds a member (to the same group) between "map.isEmpty()" and "routingTable.remove(group)" then this member will be dropped from the routing-table.
> Note that, in this case the method "handleConnect" still sends "CONNECT_OK" to the client.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list