Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-6476

Enabling durable sync can deadlock a network bridge on start up

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.14.1
    • 5.15.0, 5.14.2
    • Broker
    • None

    Description

      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.

      Attachments

        Activity

          People

            cshannon Christopher L. Shannon
            cshannon Christopher L. Shannon
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: