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

Message_added count is more than total messages published on broker

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Undefined Undefined
    • None
    • AMQ 7.10.0.GA
    • None
    • False
    • None
    • False
    • Hide

      Steps to reproduce the issue.

      [1] Add 1000 messages on master1 and master2 using the below command:-
      ./artemis producer --message-count 1000 --destination helloworld
      [2] Start the consumer application.
      [3] The consumer application will connect to master1 and all messages of master2 will get redistributed to master1.
      [4] Stop the master1 all messages will transfer to slave1 but you will notice the consumer will failover to master2.
      [5] So, After a sec all messages will be transferred from slave1 to master2.
      [6] Check the queue stat (./artemis queue stat), then it is observed that the message_added count is more than messages published on both brokers.

      Show
      Steps to reproduce the issue. [1] Add 1000 messages on master1 and master2 using the below command:- ./artemis producer --message-count 1000 --destination helloworld [2] Start the consumer application. [3] The consumer application will connect to master1 and all messages of master2 will get redistributed to master1. [4] Stop the master1 all messages will transfer to slave1 but you will notice the consumer will failover to master2. [5] So, After a sec all messages will be transferred from slave1 to master2. [6] Check the queue stat (./artemis queue stat), then it is observed that the message_added count is more than messages published on both brokers.

      Observed that message_added count is more than messages published.
      The 2 pairs of master/slave amq broker setup. Please find the steps to replicate the issue.
      (using openwire protocol)

              rhn-support-jbertram Justin Bertram
              rhn-support-ychopada Yashashree Chopada
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: