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

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

Commit 1be7873a35aab1ee1d6f14b8c47def83cc56cd45 in activemq's branch 
refs/heads/activemq-5.15.x from Christopher L. Shannon (cshannon)
[ https://gitbox.apache.org/repos/asf?p=activemq.git;h=1be7873 ]

AMQ-7496 - Properly decrement inflight message size on message
expiration

Also clean up some of the handling of inflight metrics in Prefetch
subscription

(cherry picked from commit cc0bcdd5dc6856c655d5e40e179db5b455a7efb1)


> Inflight message size counter is not decremented on message expiration
> ----------------------------------------------------------------------
>
>                 Key: AMQ-7496
>                 URL: https://issues.apache.org/jira/browse/AMQ-7496
>             Project: ActiveMQ
>          Issue Type: Improvement
>    Affects Versions: 5.15.13
>            Reporter: Christopher L. Shannon
>            Assignee: Christopher L. Shannon
>            Priority: Major
>             Fix For: 5.16.0, 5.15.14
>
>
> I discovered an issue where the Inflight message size counter is not 
> decremented properly if a Prefetch consumer (durable or queue) expires the 
> message and sends an expiration ack back to the broker. The issue is simply 
> the original commit for this feature missed that location to decrement the 
> size when the message was removed from dispatch.
> This Jira will fix that issue and will also clean up the handling of inflight 
> message size and count inside of PrefetchSubscription to be a little cleaner, 
> easier to follow and less error prone.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to