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

Locking in SimpleCachedLDAPAuthorizationMap can lead to delays in Message dispatch.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.7.0, 5.8.0
    • 5.9.0
    • Broker
    • None

    Description

      The SimpleCachedLDAPAuthorizationMap attempts to cache the LDAP authentication data; however, the locking used in the update phase can lead the broker to stall message dispatch since every caller that looks up security ACLs will wait until the update completes. Since we are caching the updates should occur asynchronously and only replace the existing cached values once the update completes.

      Attachments

        Activity

          People

            tabish Timothy A. Bish
            tabish Timothy A. Bish
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: