You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Kestutis Gedminas (JIRA)" <ji...@apache.org> on 2019/02/22 14:03:00 UTC

[jira] [Created] (AMQ-7154) Broker Deadlock while processing expired DLQ messages

Kestutis Gedminas created AMQ-7154:
--------------------------------------

             Summary: Broker Deadlock while processing expired DLQ messages
                 Key: AMQ-7154
                 URL: https://issues.apache.org/jira/browse/AMQ-7154
             Project: ActiveMQ
          Issue Type: Bug
          Components: Broker
    Affects Versions: 5.12.0
            Reporter: Kestutis Gedminas
         Attachments: amq.svg, threaddump.zip

We get a deadlock on AMQ. After analysis, it looks like in case if expired messages thread is processing DLQ queue at the same moment when poisonAck is received we run into preexisting racing condition in code due to inconsistent lock acquiring order.

[^threaddump.zip]

[^amq.svg]

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)