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

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

Christopher L. Shannon created AMQ-5994:
-------------------------------------------

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