You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Christopher L. Shannon (JIRA)" <ji...@apache.org> on 2016/12/05 13:49:58 UTC

[jira] [Resolved] (AMQ-6476) Enabling durable sync can deadlock a network bridge on start up

     [ https://issues.apache.org/jira/browse/AMQ-6476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christopher L. Shannon resolved AMQ-6476.
-----------------------------------------
       Resolution: Fixed
    Fix Version/s: 5.14.2
                   5.15.0

> Enabling durable sync can deadlock a network bridge on start up
> ---------------------------------------------------------------
>
>                 Key: AMQ-6476
>                 URL: https://issues.apache.org/jira/browse/AMQ-6476
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.14.1
>            Reporter: Christopher L. Shannon
>            Assignee: Christopher L. Shannon
>             Fix For: 5.15.0, 5.14.2
>
>
> There is an issue with the processing of the new BrokerSubscriptionInfo command that is used for sync durables over a network bridge that can cause the brokers to get stuck starting up.  Depending on the timing of the BrokerSubscriptionInfo being sent, each broker can get stuck waiting to finish creating static destinations and not be able to finish because it's waiting for the other broker to respond.  The root of the problem is the new countDown latch that was added when processing the new BrokerSubscriptionInfo object.  The fix for this to prevent a deadlock is to move that processing into a new thread so the transport doesn't get blocked and can continue to process other commands.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)