Christopher L. Shannon created AMQ-9156:
-------------------------------------------
Summary: 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
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)