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

Linkstealing causes deadlock when old client disconnects before link stealing adds the connection

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.11.0
    • 5.11.0
    • Broker
    • None
    • Patch Available

    Description

      During link stealing in progress if the old client(or connection) issues a disconnect can cause a deadlock due the order in which the locks are obtained on RegionBroker.addConnection and TransportConnection.processRemoveConneciton.

      Attachments

        1. linkstealing-deadlock.patch
          3 kB
          Sai
        2. jstack.txt
          5 kB
          Sai

        Activity

          People

            tabish Timothy A. Bish
            sai.boorlagadda@gmail.com Sai
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: