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

Shared transport protocols use stack field from first channel created

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 2.6.3, 2.7
    • 2.6.2
    • None

      For example, TP.timer is set to TP.stack.timer. TP.stack belongs to an individual channel, not to the set of channels associated with a shared transport.

      Disconnect the first channel and the others go boom.

      Did a quick scan of usage of the 'stack' field or the 'getProtocolStack()' method in TP and its subclasses. This usage for the timer is one. Others are:

      1) TCP.getConnectionTable calls cTable.setThreadFactory(getProtocolStack().getThreadFactory());
      2) handleDiagnosticProbe uses stack.getChannel()

            rhn-engineering-bban Bela Ban
            bstansbe@redhat.com Brian Stansberry
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: