You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2016/01/18 23:29:39 UTC

[jira] [Commented] (AMQ-6131) Durable subscription rewrote in journal can be to agressive and cause message loss on recovery

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

Timothy Bish commented on AMQ-6131:
-----------------------------------

Fix for AMQ-4212 is not entirely correct.

> 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)