You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/03/14 16:05:33 UTC

[jira] [Commented] (AMQ-6203) KahaDB: Allow rewrite of message acks in older logs which prevent cleanup

    [ https://issues.apache.org/jira/browse/AMQ-6203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15193422#comment-15193422 ] 

ASF subversion and git services commented on AMQ-6203:
------------------------------------------------------

Commit 946e62d702d2bf5fbcdb0ed4cb6977046acb659b in activemq's branch refs/heads/master from [~tabish121]
[ https://git-wip-us.apache.org/repos/asf?p=activemq.git;h=946e62d ]

https://issues.apache.org/jira/browse/AMQ-6203

Rewrite older acks that can be preventing GC of log files.

> KahaDB: Allow rewrite of message acks in older logs which prevent cleanup
> -------------------------------------------------------------------------
>
>                 Key: AMQ-6203
>                 URL: https://issues.apache.org/jira/browse/AMQ-6203
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: KahaDB
>    Affects Versions: 5.13.0, 5.13.1, 5.12.3, 5.13.2
>            Reporter: Timothy Bish
>            Assignee: Timothy Bish
>             Fix For: 5.14.0
>
>
> There are cases where a chain of journal logs can grow due to acks for messages in older logs needing to be kept so that on recovery proper state can be restored and older messages not be resurrected.  
> In many cases just moving the acks from one log forward to a new log can free an entire chain during subsequent GC cycles.  The 'compacted' ack log can be written during the time between GC cycles without the index lock being held meaning normal broker operations can continue.  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)