Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-9035

Inconsistent and Negative Message Counts when the Broker is Paging

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • AMQ 7.12.0.GA
    • broker-core
    • None
    • False
    • None
    • False
    • Hide

      General steps for reproducing:

      • Configure and start the broker
      • Create a multicast address with 2 durable (offline) subscriptions
      • Start a producer to the multicast address and let it run for a few minutes to drive the broker into paging
      • Connect the subscribers and start consumption
      • Restart the broker at intervals of 90 seconds or so
      • Check the queue stat output for the broker and observe the strange / negative counts
      Show
      General steps for reproducing: Configure and start the broker Create a multicast address with 2 durable (offline) subscriptions Start a producer to the multicast address and let it run for a few minutes to drive the broker into paging Connect the subscribers and start consumption Restart the broker at intervals of 90 seconds or so Check the queue stat output for the broker and observe the strange / negative counts
    • Customer Escalated

    Description

      We are seeing inconsistent counts that sometimes go negative when the broker is paging and is restarted. This is with the candidate release for AMQ 7.12.0.

      Example:

      Connection brokerURL = tcp://mqperf-broker-ss-0:61616
      |NAME                     |ADDRESS                  |CONSUMER_COUNT|MESSAGE_COUNT|MESSAGES_ADDED|DELIVERING_COUNT|MESSAGES_ACKED|SCHEDULED_COUNT|ROUTING_TYPE|
      |DLQ                      |DLQ                      |0             |0            |0             |0               |0             |0              |ANYCAST     |
      |ExpiryQueue              |ExpiryQueue              |0             |0            |0             |0               |0             |0              |ANYCAST     |
      |activemq.management.7c...|activemq.management.7c...|1             |1            |1             |1               |0             |0              |MULTICAST   |
      |activemq.management.7e...|activemq.management.7e...|1             |1            |1             |1               |0             |0              |MULTICAST   |
      |activemq.management.9b...|activemq.management.9b...|1             |0            |0             |0               |0             |0              |MULTICAST   |
      |sub1.amqp-demo-topic:g...|amqp-demo-topic          |5             |-19712405    |1517415343    |520             |11891         |0              |MULTICAST   |
      |sub2.amqp-demo-topic:g...|amqp-demo-topic          |5             |-7218885     |1538896391    |520             |11370         |0              |MULTICAST   |
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            rhn-support-dhawkins Duane Hawkins
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated: