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

Durable subscription rewrote in journal can be to agressive and cause message loss on recovery

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.12.0, 5.12.1, 5.13.0
    • Fix Version/s: 5.13.1, 5.14.0
    • Component/s: KahaDB
    • Labels:
      None

      Description

      The compaction logic that attempt to move a durable subscription commands forward in the journal when the subscription has no pending messages is to aggressive and can rewrite to early leading to loss of messages if the state is recovered from the journal instead of having a valid index to read from.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tabish121 Timothy Bish
                Reporter:
                tabish121 Timothy Bish
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: