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

Advisory broker does not properly remove virtual consumer demand

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.13.2
    • Fix Version/s: 5.13.3, 5.14.0
    • Component/s: Broker
    • Labels:
      None

      Description

      When virtual destination network demand is enabled based on the existence of a destination ( the useVirtualDestSubsOnCreation flag as described in AMQ-6027) , there is a map called brokerConsumerDests that tracks the unique demand for the existence virtual destinations.

      Elements are not being properly removed from this map when a virtual destination is removed. All elements are being removed from this map instead of just the ones that match the removed virtual destination. This can cause entries in a different map (the virtualDestinationConsumers map) to not be cleaned up and for duplicates to be added if the virtual destination is re-added later. This can lead to a memory leak as this map can continue to grow and not be cleaned up.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: