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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.12.0, 5.12.1, 5.13.0
    • 5.13.1, 5.14.0
    • KahaDB
    • 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

              tabish Timothy A. Bish
              tabish Timothy A. Bish
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: