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

KahaDB recovery with persisteRedeliveryFlag=true can lead to stuck message

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.11.0
    • Fix Version/s: 5.12.0
    • Component/s: KahaDB
    • Labels:
      None

      Description

      I send a message to queue "in" and then kill -9 the broker. After the restart, sometimes the message is lost and I can see following in broker log:
      Duplicate message add attempt rejected. Destination: QUEUE://in, Message id: ID:abe-ThinkPad-T430s-55936-1434452370587-1:1:1:1:1
      Without the

      <policyEntry ... persistJMSRedelivery=true/>

      I'm unable to reproduce this issue.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: