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

NAKACK/UNICAST: eager lock releasing not respected

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • 2.8
    • None
    • None

    Description

      In both NAKACK and UNICAST, we have atomic booleans, which are consulted before trying to acquire the lock. So if a lock is released eagerly in a ProtocolStack.down() call, although the lock is released, the atomic var isn't, and so subsequent threads will still not be able to process different messages.
      A simple solution would be to release the lock and the atomic var in down().
      OTOH, we should see whether we can use either locks or atomic vars, but not both.

      This will need to be redesigned anyway with scopes in place (https://jira.jboss.org/jira/browse/JGRP-822).

      Attachments

        Issue Links

          Activity

            People

              rhn-engineering-bban Bela Ban
              rhn-engineering-bban Bela Ban
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: