Retransmitter reset does not prevent new task addition after chanel close
-------------------------------------------------------------------------
Key: JGRP-1205
URL:
https://jira.jboss.org/browse/JGRP-1205
Project: JGroups
Issue Type: Bug
Affects Versions: 2.9, 2.8, 2.7, 2.6.15
Reporter: Vladimir Blagojevic
Assignee: Bela Ban
Fix For: 2.10
Sometimes, messages are being added to the Retransmitter *after* a channel has been . This
can happen if OOB messages are being passed around at the time a channel leaving a group.
The problem occurs in that messages are added after Retransmitter.reset(). Normally, the
timer is also stopped when the channel is disconnected, but since the Timer is shared
amongst all channels, any messages added to Retransmitter after reset() just continue to
be requested because the timer that those tasks were scheduled on did not die.
This can be solved by either specifically stopping the Retransmitter or giving each
ProtocolAdapter their own Timer which is then shutdown on channel disconnect.
Michael
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira