Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-4726

Removing scheduled message from queue via management can cause negative message count

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.31.0
    • 2.34.0
    • Web Console
    • None

    Description

      When we delete a scheduled message that has not yet been sent, it subtracts 2 from the message counter. This only happens when the message has not been delivered. The queue counter does not recover at any point, but the queue continues to function normally.

      If we remove all messages, the remaining ones are deleted, but the queue goes into negative. In one of our tests, the queue stopped functioning correctly and only messages could be inserted; it did not allow consuming them in any way. We haven't been able to reproduce it again.

      I attach screenshots and evidence.

      Attachments

        1. listScheduledMessage.PNG
          49 kB
          Juanjo Marin
        2. listScheduledMessage.txt
          2 kB
          Juanjo Marin
        3. RemoveMessage2.PNG
          33 kB
          Juanjo Marin
        4. RemoveMessage1.PNG
          36 kB
          Juanjo Marin
        5. Queue3.PNG
          40 kB
          Juanjo Marin
        6. removeAll.PNG
          44 kB
          Juanjo Marin
        7. Queue2.PNG
          41 kB
          Juanjo Marin
        8. Queue1.PNG
          34 kB
          Juanjo Marin
        9. listScheduledMessages2.txt
          2 kB
          Juanjo Marin

        Activity

          People

            jbertram Justin Bertram
            jjmarinfuturespace Juanjo Marin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 50m
                50m