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

possible skipped Queue messages in memory limited configuration with fast consumers

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.4.2
    • Fix Version/s: 5.5.0
    • Component/s: Broker
    • Labels:
      None
    • Regression:
      Regression, Unit Test Broken

      Description

      regression in test from https://issues.apache.org/jira/browse/AMQ-2413 required some investigation. Symptom was missing messages, turned out to be in the middle of the sequence. Issue with the priority kahadb cursors and setbatch. Set batch is invoked when the cursor memory is exhausted such that replay from the store can start at the correct point. If a call to setBatch was followed by a call to recover when there was still no memory space available, the cursor could skip the next pending message.

        Attachments

        1. AMQ3167Test.java
          13 kB
          Arthur Naseef
        2. patch.amq3167.activemq-5.4.2
          2 kB
          Arthur Naseef

          Activity

            People

            • Assignee:
              gtully Gary Tully
              Reporter:
              gtully Gary Tully
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: