Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-5571

[Java Broker] [AMQP 1.0] Broker can deadlock if a consumer is closed while it is sending messages

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.26
    • 0.27
    • Broker-J
    • None

    Description

      The I/O thread first takes the endpoint lock and then gets the consumer lock, the queue runner thread takes the consumer lock and then tries to get the endpoint lock.

      By modifying the I/O thread to release the endpoint lock if it cannot get the consumer lock we can avoid the deadlock.

      Attachments

        Activity

          People

            rgodfrey Robert Godfrey
            rgodfrey Robert Godfrey
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: