[ https://issues.apache.org/jira/browse/AMQ-6131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15105917#comment-15105917 ]
ASF subversion and git services commented on AMQ-6131: ------------------------------------------------------ Commit 7d3a71a4dff336b6f660d7f51661829b325e034b in activemq's branch refs/heads/activemq-5.13.x from [~tabish121] [ https://git-wip-us.apache.org/repos/asf?p=activemq.git;h=7d3a71a ] https://issues.apache.org/jira/browse/AMQ-6131 Fix check for durable sub with no pending messages during checkpoint cleanup. (cherry picked from commit 193f6be6878502f3db8563465872a1afd86b7c54) > Durable subscription rewrote in journal can be to agressive and cause message > loss on recovery > ---------------------------------------------------------------------------------------------- > > Key: AMQ-6131 > URL: https://issues.apache.org/jira/browse/AMQ-6131 > Project: ActiveMQ > Issue Type: Bug > Components: KahaDB > Affects Versions: 5.12.0, 5.12.1, 5.13.0 > Reporter: Timothy Bish > Assignee: Timothy Bish > Fix For: 5.13.1, 5.14.0 > > > 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. -- This message was sent by Atlassian JIRA (v6.3.4#6332)