[jboss-jira] [JBoss JIRA] Created: (JGRP-1151) RouterStub: ignore SUSPECT message from GossipRouter if used in TCPGOSSIP
Bela Ban (JIRA)
jira-events at lists.jboss.org
Thu Feb 11 08:42:10 EST 2010
RouterStub: ignore SUSPECT message from GossipRouter if used in TCPGOSSIP
-------------------------------------------------------------------------
Key: JGRP-1151
URL: https://jira.jboss.org/jira/browse/JGRP-1151
Project: JGroups
Issue Type: Bug
Affects Versions: 2.8
Reporter: Bela Ban
Assignee: Bela Ban
Fix For: 2.8.1, 2.9
When a RouterStub is used in TCPGOSSIP (as opposed to TUNNEL), then the GossipRouter might send unsolicited SUSPECT messages. However, the RouterStub doesn't handle them, as it doesn't have a receiver thread. So when it sends a GET-MEMBERS, and then tries to read the response from the input stream, it might encounter a SUSPECT message first. However, since it doesn't know how to interpret SUSPECT (it tries reading a response), it fails.
SOLUTION: check the input stream before sending a GET-MEMBERS request: if not empty, skip all input available
--
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
More information about the jboss-jira
mailing list