[
https://issues.apache.org/jira/browse/ARTEMIS-1140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
clebert suconic closed ARTEMIS-1140.
------------------------------------
Resolution: Fixed
> Avoid Queue lock on queueQuery
> ------------------------------
>
> Key: ARTEMIS-1140
> URL: https://issues.apache.org/jira/browse/ARTEMIS-1140
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Affects Versions: 1.5.4, 2.0.0
> Reporter: clebert suconic
> Assignee: clebert suconic
> Fix For: 1.5.5, 2.next
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)