Partial index updates can lead to bogus recovery for the vmcursor of a Q on 
startup
-----------------------------------------------------------------------------------

                 Key: AMQ-3806
                 URL: https://issues.apache.org/jira/browse/AMQ-3806
             Project: ActiveMQ
          Issue Type: Bug
          Components: Broker, Message Store
    Affects Versions: 5.5.1
            Reporter: Gary Tully
            Assignee: Gary Tully
             Fix For: 5.6.0


seeing{code} INFO | Using Persistence Adapter: 
org.apache.activemq.store.kahadb.KahaDBStore@49f10a67
INFO | KahaDB is version 4
INFO | Recovering from the journal ...
INFO | Recovery replayed 1 operations from the journal in 0.063 seconds.
INFO | ActiveMQ 5.5.1 JMS Message Broker (..) is starting
INFO | For help or more information please see: http://activemq.apache.org/
INFO | cursor for queue://JMS/XXXXX has recovered 10000 messages. 2147483647% 
complete
INFO | cursor for queue://JMS/XXXXX has recovered 20000 messages. 2147483647% 
complete{code}

The crazy % is the result of recovering on a store that has 0 messages. The 
orderIndex seems to still allow iteration (possibly part of a partial index 
update) and can result in recovering for ever.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to