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 2022/11/03 14:44:00 UTC

[jira] [Resolved] (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:all-tabpanel ]

Christopher L. Shannon resolved AMQ-9156.
-----------------------------------------
    Resolution: Fixed

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