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

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

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

AMQ-9156 - Make sure in flight metrics are properly decremented on
subscription destroys and dispatch failures

(cherry picked from commit 58666afffde7eb43509d155e709e76e6fdba8084)


> In flight destination statistics are not properly decremented on Topic sub 
> failure or close
> -------------------------------------------------------------------------------------------
>
>                 Key: AMQ-9156
>                 URL: https://issues.apache.org/jira/browse/AMQ-9156
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.17.2
>            Reporter: Christopher L. Shannon
>            Priority: Major
>             Fix For: 5.18.0, 5.17.2
>
>
> In flight statistics were enhanced back in AMQ-5837 and I noticed a small 
> edge case issue for Topic subscriptions where the in flight count on the 
> destination the topic subscription was consuming from would not be properly 
> decremented on Topic subscription failure due to dispatch failure or on 
> subscription close. We just need to make sure on failure/close the stats are 
> updated properly (Prefetch subs already do this for queues/durables). I will 
> push a small fix for this and a couple new tests.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to