You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/05/03 16:18:04 UTC
[jira] [Commented] (ARTEMIS-1140) Avoid Queue lock on queueQuery
[ https://issues.apache.org/jira/browse/ARTEMIS-1140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15995155#comment-15995155 ]
ASF GitHub Bot commented on ARTEMIS-1140:
-----------------------------------------
GitHub user clebertsuconic opened a pull request:
https://github.com/apache/activemq-artemis/pull/1247
ARTEMIS-1140 Avoid lock on queue for message counts
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/clebertsuconic/activemq-artemis artemis-1140
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/activemq-artemis/pull/1247.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1247
----
commit aec01d59034637002bced694e5c36820085054f3
Author: Clebert Suconic <cl...@apache.org>
Date: 2017-05-03T16:10:59Z
ARTEMIS-1140 Avoid lock on queue for message counts
----
> 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)