You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Gary Tully (JIRA)" <ji...@apache.org> on 2015/10/01 18:05:26 UTC

[jira] [Comment Edited] (AMQ-5994) Broker can't recover Durable Subscription on index deletion

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

Gary Tully edited comment on AMQ-5994 at 10/1/15 4:04 PM:
----------------------------------------------------------

[~cshannon] thanks for the heads up. That does look like a problem. I will peek at it in the next day or so and figure out what the correct fix is.


was (Author: gtully):
[~cshannon] thanks for the heads up. That does look like a problem. I will peek at it in the next day of so and figure out what the correct fix is.

> Broker can't recover Durable Subscription on index deletion
> -----------------------------------------------------------
>
>                 Key: AMQ-5994
>                 URL: https://issues.apache.org/jira/browse/AMQ-5994
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker, KahaDB
>    Affects Versions: 5.12.0
>            Reporter: Christopher L. Shannon
>            Assignee: Gary Tully
>         Attachments: SubscriptionRecoveryTest.java
>
>
> The broker is unable to recover a durable subscription when replaying the journal to rebuild the index, if the original index was deleted.  The problem is that when the index is recovered, any KahaSubscriptionCommand is ignored so the messages are never recovered because when the messages are replayed the subscriptions don't exist.
> I modified AMQ4212Test.java to demonstrate this issue and I have attached it.
> It looks like the fix for AMQ-4000 is what introduces this problem. 
> The commit for that issue is is : https://git-wip-us.apache.org/repos/asf?p=activemq.git;a=commit;h=0061f6f75538ede8fe3443925e64beb839abfb90



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