You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Gary Tully (Reopened) (JIRA)" <ji...@apache.org> on 2012/01/26 23:53:43 UTC

[jira] [Reopened] (AMQ-3634) Automatic recovery on startup when index is corrupted

     [ https://issues.apache.org/jira/browse/AMQ-3634?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary Tully reopened AMQ-3634:
-----------------------------

      Assignee: Gary Tully  (was: Dejan Bosanac)

we need to clean up the existing metadata and page file before trying to reload. Depending on the type of corruption, the metadata may load ok, but be invalid. In one example, it updates the journal and recovery does not replay from the start of the journal, so we skip messages.
Am working on fix.
                
> Automatic recovery on startup when index is corrupted
> -----------------------------------------------------
>
>                 Key: AMQ-3634
>                 URL: https://issues.apache.org/jira/browse/AMQ-3634
>             Project: ActiveMQ
>          Issue Type: New Feature
>    Affects Versions: 5.5.0
>            Reporter: Dejan Bosanac
>            Assignee: Gary Tully
>             Fix For: 5.6.0
>
>
> When index is corrupted broker won't start up. Index files need to be deleted and broker restarted. This leads to unnecessary downtime and manual intervention which is prone to error. It'd be better to automatically delete (archive) the index and start recovering in those situations.

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