Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-1205

Retransmitter reset does not prevent new task addition after chanel close

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.6.19, 2.10
    • 2.6.15, 2.7, 2.8, 2.9
    • None

      Sometimes, messages are being added to the Retransmitter after a channel has been closed. This can happen if OOB messages are being passed around at the time a channel is 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

            rhn-engineering-bban Bela Ban
            vblagoje Vladimir Blagojevic (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: