Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-9595

Durable subscriber receives acknowledge messages if they are farther than the maxBatchSize

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 6.1.3, 5.18.6
    • 6.2.0, 6.1.4, 5.18.7
    • KahaDB
    • None

    Description

      Let's say we have a topic with 2 durable subscribers:

      •  we send 10000 messages to the topic.
      • First subscriber receives all messages, and acknowledges every second of them(0th,  2nd, 4th and so on)
      • Second subscriber doesn't acknowledge anything
      • we restart the broker
      • first subscriber connects to the broker and starts receiving messages
      • at first it receives correct messages(1st, 3rd, 5th and so on), but at some point it starts receiving all messages(400th, 401st, 402nd and so on).

      See a test in the attachment

      Attachments

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            nikita-shupletsov Nikita Shupletsov
            Votes:
            0 Vote for this issue
            Watchers:
            3 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 - 40m
                40m