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

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        4m 18s 1 Gary Tully 07/Mar/11 14:59
        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
        Gary Tully made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Show
        Gary Tully added a comment - fix in http://svn.apache.org/viewvc?rev=1078799&view=rev
        Gary Tully created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development