Rob Godfrey created QPID-5571:
---------------------------------

             Summary: [Java Broker] [AMQP 1.0] Broker can deadlock if a 
consumer is closed while it is sending messages
                 Key: QPID-5571
                 URL: https://issues.apache.org/jira/browse/QPID-5571
             Project: Qpid
          Issue Type: Bug
          Components: Java Broker
    Affects Versions: 0.26
            Reporter: Rob Godfrey
             Fix For: 0.27


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.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to