Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-6947

Queue pending message count can go negative on duplicates

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Reopened
    • Minor
    • Resolution: Unresolved
    • 5.15.3
    • None
    • Broker
    • None

    Description

      I have a found an edge case where the destination statistics counter on a Queue can go negative if there are duplicate messages (which should be rare).  The issue is the statistic is decremented but should not be because the message was already dropped since there was a duplicate.  Also, another statistic is improperly incremented which is the dequeue counter.

      Attachments

        Activity

          People

            Unassigned Unassigned
            cshannon Christopher L. Shannon
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: