You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Gary Tully (JIRA)" <ji...@apache.org> on 2011/03/07 15:55:59 UTC
[jira] Created: (AMQ-3206) Unsubscribed durable sub can leave
dangling message reference in kahaDB, visible after a restart
Unsubscribed durable sub can leave dangling message reference in kahaDB, visible after a restart
------------------------------------------------------------------------------------------------
Key: AMQ-3206
URL: https://issues.apache.org/jira/browse/AMQ-3206
Project: ActiveMQ
Issue Type: Bug
Components: Message Store
Affects Versions: 5.4.2
Reporter: Gary Tully
Assignee: Gary Tully
Fix For: 5.5.0
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.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (AMQ-3206) Unsubscribed durable sub can leave
dangling message reference in kahaDB, visible after a restart
Posted by "Buchi Reddy B (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AMQ-3206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13259492#comment-13259492 ]
Buchi Reddy B commented on AMQ-3206:
------------------------------------
I think this is still happening. Please see https://issues.apache.org/jira/browse/AMQ-3802
> Unsubscribed durable sub can leave dangling message reference in kahaDB, visible after a restart
> ------------------------------------------------------------------------------------------------
>
> Key: AMQ-3206
> URL: https://issues.apache.org/jira/browse/AMQ-3206
> Project: ActiveMQ
> Issue Type: Bug
> Components: Message Store
> Affects Versions: 5.4.2
> Reporter: Gary Tully
> Assignee: Gary Tully
> Labels: durable, kahaDB, topic
> Fix For: 5.5.0
>
>
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Resolved: (AMQ-3206) Unsubscribed durable sub can leave
dangling message reference in kahaDB, visible after a restart
Posted by "Gary Tully (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AMQ-3206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gary Tully resolved AMQ-3206.
-----------------------------
Resolution: Fixed
fix in http://svn.apache.org/viewvc?rev=1078799&view=rev
> Unsubscribed durable sub can leave dangling message reference in kahaDB, visible after a restart
> ------------------------------------------------------------------------------------------------
>
> Key: AMQ-3206
> URL: https://issues.apache.org/jira/browse/AMQ-3206
> Project: ActiveMQ
> Issue Type: Bug
> Components: Message Store
> Affects Versions: 5.4.2
> Reporter: Gary Tully
> Assignee: Gary Tully
> Labels: durable, kahaDB, topic
> Fix For: 5.5.0
>
>
> 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.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira