You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Christopher L. Shannon (JIRA)" <ji...@apache.org> on 2018/04/17 12:30:00 UTC

[jira] [Resolved] (AMQ-6947) Queue pending message count can go negative on duplicates

     [ https://issues.apache.org/jira/browse/AMQ-6947?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christopher L. Shannon resolved AMQ-6947.
-----------------------------------------
       Resolution: Fixed
    Fix Version/s: 5.16.0

> Queue pending message count can go negative on duplicates
> ---------------------------------------------------------
>
>                 Key: AMQ-6947
>                 URL: https://issues.apache.org/jira/browse/AMQ-6947
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Apollo, Broker
>    Affects Versions: 5.15.3
>            Reporter: Christopher L. Shannon
>            Assignee: Christopher L. Shannon
>            Priority: Minor
>             Fix For: 5.16.0, 5.15.4
>
>
> I have a found an edge case where the destination statistics counter on a Queue can go negative if there are duplicate messages (which should be rare).  The issue is the statistic is decremented but should not be because the message was already dropped since there was a duplicate.  Also, another statistic is improperly incremented which is the dequeue counter.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)