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. RemoveMessage2.PNG
          33 kB
          jjmarin
        2. RemoveMessage1.PNG
          36 kB
          jjmarin
        3. removeAll.PNG
          44 kB
          jjmarin
        4. Queue3.PNG
          40 kB
          jjmarin
        5. Queue2.PNG
          41 kB
          jjmarin
        6. Queue1.PNG
          34 kB
          jjmarin
        7. listScheduledMessages2.txt
          2 kB
          jjmarin
        8. listScheduledMessage.txt
          2 kB
          jjmarin
        9. listScheduledMessage.PNG
          49 kB
          jjmarin

        Activity

          People

            jbertram Justin Bertram
            jjmarinfuturespace jjmarin
            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