Uploaded image for project: 'ActiveMQ Apollo (Retired)'
  1. ActiveMQ Apollo (Retired)
  2. APLO-384

Error with messages having an expiration

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Do
    • 1.6, 1.7.1
    • None
    • apollo-broker
    • None

    Description

      When sending a large number of messages (25000) to a queue, being a mix of messages with and without expiration from a c++ application using activemq-cpp 3.8.2 and stomp connector on localhost (tcp://localhost:61613?wireFormat=stomp), we encounter an error in the log:

      09:37:54,943 INFO  [queue.EmbeddedBroker] The broker has now started.
      09:38:15,328 INFO  [log.connection] connected: local:/127.0.0.1:61613, remote:/127.0.0.1:53399
      09:38:52,195 WARN  [broker.QueueEntry] Retrying 1 load do to Queue 'outbound-control' detected store change in range [10002:20001]. -1 message(s) and -1067 bytes
      09:38:52,393 WARN  [broker.QueueEntry] Retrying 2 load do to Queue 'outbound-control' detected store change in range [10002:20001]. -1 message(s) and -1067 bytes
      09:38:52,510 WARN  [broker.QueueEntry] Retrying 3 load do to Queue 'outbound-control' detected store change in range [10002:20001]. -1 message(s) and -1067 bytes
      09:38:52,611 WARN  [broker.QueueEntry] Retrying 4 load do to Queue 'outbound-control' detected store change in range [10002:20001]. -1 message(s) and -1067 bytes
      09:38:52,705 WARN  [broker.QueueEntry] Retrying 5 load do to Queue 'outbound-control' detected store change in range [10002:20001]. -1 message(s) and -1067 bytes
      09:38:52,803 WARN  [broker.QueueEntry] Retrying 6 load do to Queue 'outbound-control' detected store change in range [10002:20001]. -1 message(s) and -1067 bytes
      09:38:52,907 WARN  [broker.QueueEntry] Retrying 7 load do to Queue 'outbound-control' detected store change in range [10002:20001]. -1 message(s) and -1067 bytes
      09:38:53,006 WARN  [broker.QueueEntry] Retrying 8 load do to Queue 'outbound-control' detected store change in range [10002:20001]. -1 message(s) and -1067 bytes
      09:38:53,110 WARN  [broker.QueueEntry] Retrying 9 load do to Queue 'outbound-control' detected store change in range [10002:20001]. -1 message(s) and -1067 bytes
      09:38:53,204 WARN  [broker.QueueEntry] Queue 'outbound-control' detected store change in range [10002:20001]. -1 message(s) and -1067 bytes
      09:38:55,857 INFO  [log.connection] disconnected: local:/127.0.0.1:61613, remote:/127.0.0.1:53399
      

      Following this error, we can be blocked on send or receive calls and the console can show negative numbers of messages.

      Attachments

        1. activemq-broker-test.cpp
          10 kB
          Philippe Leuba
        2. Screen Shot 2015-07-28 at 11.25.36 AM.png
          16 kB
          Philippe Leuba

        Activity

          People

            Unassigned Unassigned
            pleuba Philippe Leuba
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: