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 2020/06/10 15:24:00 UTC

[jira] [Created] (AMQ-7496) Inflight message size counter is not decremented on message expiration

Christopher L. Shannon created AMQ-7496:
-------------------------------------------

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