Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-5994

Broker can't recover Durable Subscription on index deletion

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.12.0
    • 5.12.1, 5.13.0
    • Broker, KahaDB
    • None

    Description

      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

      Attachments

        1. SubscriptionRecoveryTest.java
          14 kB
          Christopher L. Shannon

        Activity

          People

            gtully Gary Tully
            cshannon Christopher L. Shannon
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: