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

ForkChannel.getFORK(...) is not thread-safe

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 3.4.5, 3.5
    • 3.4.4
    • None

    Description

      If multiple concurrent threads attempt to create a ForkChannel using the same fork stack, and the flag is enabled that attempts to create the FORK protocol if missing - the FORK protocol can inadvertently insert multiple times. There needs to be some thread synchronization between the findProtocol(FORK.class) and protocol creation/insertion.

      Attachments

        Activity

          People

            rhn-engineering-bban Bela Ban
            pferraro@redhat.com Paul Ferraro
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: