ActiveMQ
  1. ActiveMQ
  2. AMQ-3206

Unsubscribed durable sub can leave dangling message reference in kahaDB, visible after a restart

    Details

      Description

      Unsubscribing a durable sub with kahaDB cleans up the expected ack locations but does not update the change to the persistent index. After a restart, the old state is recovered which can lead to invalid references to messages. These references can block journal file deletion when the message is ultimately consumed by all interested subs, Leading to data file build up. The necessary conditions are multiple durable subs with some unsubscribing with a remaining backlog along with broker restarts.

        Activity

        Show
        Gary Tully added a comment - fix in http://svn.apache.org/viewvc?rev=1078799&view=rev
        Hide
        Buchi Reddy B added a comment -

        I think this is still happening. Please see https://issues.apache.org/jira/browse/AMQ-3802

        Show
        Buchi Reddy B added a comment - I think this is still happening. Please see https://issues.apache.org/jira/browse/AMQ-3802

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development