activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMQ-4598) Negative JMX QueueSize attribute in due to purging a queue
Date Tue, 17 Feb 2015 11:04:12 GMT

    [ https://issues.apache.org/jira/browse/AMQ-4598?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14324058#comment-14324058
] 

ASF GitHub Bot commented on AMQ-4598:
-------------------------------------

GitHub user metatechbe opened a pull request:

    https://github.com/apache/activemq/pull/62

    AMQ-4598 purge enhancement

    Reset queue counter during "purge" to the number of inflight messages, so that they are
not "hidden" while still being processed.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/metatechbe/activemq patch-1

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/activemq/pull/62.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 #62
    
----
commit 752573dbee35a86cb83ceaed1c122e878f298d27
Author: metatechbe <metatechbe@gmail.com>
Date:   2015-02-17T11:03:42Z

    AMQ-4598 purge enhancement
    
    Reset queue counter during "purge" to the number of inflight messages, so that they are
not "hidden" while still being processed.

----


> Negative JMX QueueSize attribute in due to purging a queue
> ----------------------------------------------------------
>
>                 Key: AMQ-4598
>                 URL: https://issues.apache.org/jira/browse/AMQ-4598
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.8.0
>            Reporter: Dejan Bosanac
>            Assignee: Dejan Bosanac
>             Fix For: 5.9.0
>
>         Attachments: amq_negative_queue_size_after_purge.diff
>
>
> If you purge a queue that has a bunch of messages prefetched you may end up with a negative
QueueSize in JMX as the prefetched messages get acked after the purge. 
> This behavior should be considered a bug as many users depend on these JMX statistics.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message