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

Durable Subs repeated drain and reconnect, skipping messages with kahaDB

    Details

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

      Description

      With kahaDB as the default store some of the durable tests fail. The issue is the next message sequence gets out of sync when a durable sub is repeatedly drained such that an new message can be incorrectly seen as an ack. A consumer can miss a message as a result.

      Tests that fail: org.apache.activemq.usecases.DurableConsumerCloseAndReconnectTest.testCreateDurableConsumerCloseThenReconnect
      org.apache.activemq.network.SimpleNetworkTest.testDurableStoreAndForwardReconnect

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: