You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/11/03 14:43:00 UTC

[jira] [Commented] (AMQ-9156) In flight destination statistics are not properly decremented on Topic sub failure or close

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

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

Commit 58666afffde7eb43509d155e709e76e6fdba8084 in activemq's branch refs/heads/main from Christopher L. Shannon (cshannon)
[ https://gitbox.apache.org/repos/asf?p=activemq.git;h=58666afff ]

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


> 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)