Uploaded image for project: 'Qpid JMS'
  1. Qpid JMS
  2. QPIDJMS-529

Remote link closure when producer send and close race and lead to close blocking forever

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.57.0
    • Fix Version/s: 0.58.0
    • Component/s: qpid-jms-client
    • Labels:
      None

      Description

      A three way race can occur when a remote link closure occurs and two threads are in the process of both sending a message and attempting to close the producer.  Due to a bug in the provider producer send handler the send can trigger tracking of the send even when it has known to have failed due to the link already having entered a closed state due to remote detach arriving.  The MessageProducer close operation if initiated such that it is waiting behind the send call for the IO thread can block forever waiting for the tracked send to be discarded which it never will as it was already considered failed by the initial send call.

        Attachments

          Activity

            People

            • Assignee:
              tabish Timothy A. Bish
              Reporter:
              tabish Timothy A. Bish
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: