activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMQ-6947) Queue pending message count can go negative on duplicates
Date Wed, 18 Apr 2018 16:36:00 GMT

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

ASF subversion and git services commented on AMQ-6947:
------------------------------------------------------

Commit 79fae8c00ba60c46b913c6b39370b20c6d15e6ac in activemq's branch refs/heads/activemq-5.15.x
from [~cshannon]
[ https://git-wip-us.apache.org/repos/asf?p=activemq.git;h=79fae8c ]

Revert "AMQ-6947 - Make sure counters are updated correct on message drop"

This reverts commit 1fe096cb2a3ec03dbf5a7aab05c0960f8c739339.


> 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: Broker
>    Affects Versions: 5.15.3
>            Reporter: 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)

Mime
View raw message