Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-1140

Avoid Queue lock on queueQuery

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5.4, 2.0.0
    • 1.5.5, 2.1.0
    • None
    • None

    Description

      queueQuery is currently holding a lock on the queue to get a strict message count on the queue.

      In case of high performance scenarios mixed with an anti-pattern on the client with calling queueQuery constantly this will incur on low performance.

      this is an anti-pattern and not much we can do, but we don't need to hold a lock just for that query.

      Attachments

        Issue Links

          Activity

            People

              clebertsuconic Clebert Suconic
              clebertsuconic Clebert Suconic
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: